Hello community,
I creating a workflow that cleans up files. I am having some trouble converting the text columns to doubles while excluding columns that should remain as text.
After eliminating the useless header from files, I use auto field to convert columns to their appropriate data type. This doesn't always work because some numbers have a lot of decimals. To convert these into doubles, I use the multi-field formula and select all the texts, change output type to double and use the formula "tonumber([_CurrentField_],1,1)".
This does the trick except one problem: the text column that should remain a text becomes null.
I plan to run this workflow for thousands of different files with different column names, so I can't manually exclude the text files, is there a formula that excludes texts from getting converted into null?
I attached the workflow and the sample file.
Please let me know the changes I need to do to keep the columns with letters as string and successfully convert all the columns with numbers into doubles