Sep 27, 2021 04:18 AM
Hello,
HELP! Working with a base containing formatted currency fields but when downloading CSV, the resulting import into MS Excel, converts the currency fields to TEXT.
Is there a way to override this so that currency remains as a number field?
Thank you in advance
Kind regards,
Sally
Solved! Go to Solution.
Sep 28, 2021 11:35 AM
I made a simple table that had four test fields: a number, currency, formula formatted as currency, and a text field that looks like a currency.
When exporting to CSV and opening the CSV into Excel all four fields were recognized as numbers.
Keep in mind that all CSV files carry with them no formatting settings. Excel is always guessing how a cell value should be formatted when opening a CSV based on what it “sees”.
What exactly do your fields look like? Post a screenshot if you can. If Excel is recognizing neither Currency nor Number fields as proper numbers, that is unusual.
Sep 27, 2021 01:27 PM
you cant turn it back into a number once its in excel? or turn it into a number field before you take it out of airtable? interested in why you’re pulling from airtable into excel its usually the other way around.
Sep 27, 2021 10:53 PM
Hello Rebecca.
Thanks for he suggestion, BUT converting to a number before downloading the csv, still results in text, not number. Cannot be converted in Excel without retyping. Reads the decimal point as a full stop instead of decimal…
For now, will manually input the subtotal from Airtable, but if anyone else has any ideas please do advise.
RE: why the need for Excel… we are new to Airtable & still more comfortable with formatting for printing in Excel. Yes, I know we shouldn’t need to print, but … baby steps … The Team are still anxious when using Airtable as I have only recently converted the company database from Excel to Airtable - they’re still getting accustomed to the interface.
Thanks for your help
Kind regards,
Sally
Sep 27, 2021 11:59 PM
Hi @Sally_de_Witt ,
I guess in your excel cell you have the following: $ 40, is that right?
If yes then you can use the following formula to convert the text automatically to number:
=value(RIGHT(B3,len(B3)-2))
RIGHT(B3,len(B3)-2)
will keep the number part of the datavalue()
function converts the numeric text to numberIf you want to apply this automatically to all the following cells of the same column you can use also arrayformula
Please text us back if it finally worked or if you want a different idea :slightly_smiling_face:
Thanks
Sep 28, 2021 03:04 AM
Hello Dimitris,
I have the text: $25.35
I have tried as you have suggested above, but the formula will not work (have changed B3 to be my target cell reference)
:frowning:
Sep 28, 2021 03:53 AM
Hi @Sally_de_Witt it is because there is no space between $ and the number. Please update by the following one:
function
RIGHT(B3,len(B3)-1)
Does it work?
Sep 28, 2021 05:32 AM
Hi Dimitris
Nope - returns a #VALUE error
Something to do with the decimal I think
Sep 28, 2021 11:35 AM
I made a simple table that had four test fields: a number, currency, formula formatted as currency, and a text field that looks like a currency.
When exporting to CSV and opening the CSV into Excel all four fields were recognized as numbers.
Keep in mind that all CSV files carry with them no formatting settings. Excel is always guessing how a cell value should be formatted when opening a CSV based on what it “sees”.
What exactly do your fields look like? Post a screenshot if you can. If Excel is recognizing neither Currency nor Number fields as proper numbers, that is unusual.
Sep 28, 2021 08:06 PM
Hi Kamille,
Thank you!
My fields contain text, numbers & multiple select fields in addition to the currency & formula fields:
BUT, you have just given me a clue - and I have managed to get it working but updating OS decimal & thousands separators and it now works perfectly!
Thank you so much for reminding me that Excel was converting the file, gave me the clue to investigate how it imported the data.