I am working on an Excel worksheet, where I have two different currencies. One is the Australian dollar (AUD/$)) and the other is Indian Rupees (INR/Rs).
The requirement is that in the same Excel worksheet, the format of display for these two currencies should be per the national standards i.e. US dollar format grouping for Dollars and Indian Rupees format grouping for Rupees.
I, therefore, cannot use the customise format, under additional settings under region and language.
The end result expected is as following:
|Column A | Column B | |AUD | INR | |$ 98,765,432.10 | Rs 9,87,65,432.10 | I tried using cell formating, (Ctrl+1 on windows Excel) and adding the following code from the internet:
*[>=10000000]"Rs "##\,##\,##\,##0;[>=100000]"Rs " ##\,##\,##0;"Rs "##,##0* Here I have observed that this code works for positive numbers only and fails for any negative number.
The standard for writing this code is; format for Positive; format for Negative; format for Zero; format for Text Therefore;
[>=10000000]"Rs "##\,##\,##\,##0; --> is for positive number only [>=100000]"Rs " ##\,##\,##0; --> is for negative number only "Rs "##,##0 --> is for zero Nothing for text --> for text (nothing specified) I fail to understand that how the above code works!!!
My partial understanding is that the code is using conditional formating which allows for two conditions testing only e.g. [Blue];[Red] So two requests:
- I will appreciate it if somebody can help to understand the above codes working against the standard.
- Help me solving my difficulty as explained above.
Regards PSS
