I have an excel which has multiple columns of numeric values / amounts, which are all in different currencies in different column. One column is in one currency.
I have my regional setting set to a default currency format, so one column is set. For all other columns I need to use the custom number formatting in excel to set them to their specific currency format.
I under how to add currency symbols to each one to skipping that part here. My issue is with different comma separation for different currencies.
For illustration, I have three formats here:
- Currency 1: All comma separation three-digits long but without any decimal points.
- Currency 2: All comma separation three-digits long with 3 decimal points.
- Currency 3: INR style - Initial three-digit separation and then two digit separation thereafter with decimal.
Currency 3 is done through default regional formatting on windows. I tried following format for currency 1 and 2:
Currency 1:
[>=1000000000]##\,###\,###\,##0;[>=1000000]##\,###\,##0;[>=1000] ##\,##0;##,##0
Currency 2:
[>=1000000000]##\,###\,###\,##0.000;[>=1000000]##\,###\,##0.000;[>=1000] ##\,##0.000;##,##0.000
However, I am getting error in excel that the said formatting cannot be accepted.
The format works if I remove the trillion part [>=1000000000]##\,###\,###\,##0
from the custom format. So I am guessing the issue is somewhere there, but I can't figure it out.
Expected Output:
| Currency 1 | Currency 2 | Currency 3 |
|-----------------|---------------------|---------------------|
| 1,000,000 | 1,000,000.240 | 10,00,000.24 |
| 1,000 | 1,000.240 | 1,000.24 |
| 1,000,000,000 | 1,000,000,000.240 | 1,00,00,00,000.24 |
| 100 | 100.240 | 100.24 |
| -1,000,000 | -1,000,000.240 | -10,00,000.24 |
| -1,000 | -1,000.240 | -1,000.24 |
| -1,000,000,000 | -1,000,000,000.240 | -1,00,00,00,000.24 |
| -100 | -100.240 | -100.24 |
Can you help me where is the issue here?