Convert Numbers to csv

Hi, when I convert a Numbers file to CSV and export it to a program (Fortnox).

Fortnox can't read negative numbers(ex -519,00). I have tried to delete minus and put it in again but still the same problem...


Anyone has a solution?


BR

O

iMac, macOS 10.13

Posted on Mar 30, 2022 12:22 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 30, 2022 5:42 AM

As far as I can tell, Numbers uses the standard hyphen/negative symbol for the minus sign (ASCII code 45) when it exports negative numbers to CSV. But we have noticed in the past that there are regional differences in how Numbers works. Something that works perfectly fine in the US region might not work the same in another region.


As a test, do you have another spreadsheet app (Excel, Google Sheets, etc.) you can use to import the CSV file to see if negative numbers get imported as numbers, not text? The test is to be sure they import as numbers, not text. That will rule out it being a problem with negative symbols in the CSV. If it passes that test, the problem is something about Fortnox.


Does Fortnox require negative numbers to be formatted with parentheses as (519,00) vs -519,00 ? That would be strange but it is a possibility. You could try formatting all numeric cells to use parentheses for negatives. The exported CSV will/should also use parentheses. As a test (before messing with your Numbers document), you can edit the CSV file you have now and change one or more of the negatives into that format and see if those numbers import correctly into Fortnox.

4 replies
Question marked as Top-ranking reply

Mar 30, 2022 5:42 AM in response to MellOlle

As far as I can tell, Numbers uses the standard hyphen/negative symbol for the minus sign (ASCII code 45) when it exports negative numbers to CSV. But we have noticed in the past that there are regional differences in how Numbers works. Something that works perfectly fine in the US region might not work the same in another region.


As a test, do you have another spreadsheet app (Excel, Google Sheets, etc.) you can use to import the CSV file to see if negative numbers get imported as numbers, not text? The test is to be sure they import as numbers, not text. That will rule out it being a problem with negative symbols in the CSV. If it passes that test, the problem is something about Fortnox.


Does Fortnox require negative numbers to be formatted with parentheses as (519,00) vs -519,00 ? That would be strange but it is a possibility. You could try formatting all numeric cells to use parentheses for negatives. The exported CSV will/should also use parentheses. As a test (before messing with your Numbers document), you can edit the CSV file you have now and change one or more of the negatives into that format and see if those numbers import correctly into Fortnox.

Mar 30, 2022 7:42 AM in response to MellOlle

You have found you can import it into Excel and it imports the negative numbers as actual numbers, not text. The part about them being actual numbers, not text-formatted numbers was the important part. Actual numbers will align in Excel on the right side of the cell, text "numbers" will align on the left side of the cell. So if that was all okay, it sounds like the CSV is fine. Try one more test:


Now export/save it from Excel as CSV and see if Fortnox can import that file. If it can, open both CSV files in TextEdit or BBEdit or another plain-text editor (not Excel Word) and see if you can find the difference(s). If Fortnox cannot import the one from Excel, then it is most likely a Fortnox problem or some incompatibility with it and a setting on your computer.


Is Fortnox an online app (web-based) or is it an app that you installed and run on your computer?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Convert Numbers to csv

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.