Display thousand separator in text function output

Sachin2k6

Active Member
Joined
Mar 3, 2012
Messages
369
Hi all

I have numbers in cell A1 (say 3545852) as a sum of a data range. I want to display it like this "Rs. 35,45,852.00 Cr."

How can i do this. I used text function like this

="Rs. " & text(A1,"0,00.00") & " Cr."

But it displays "Rs. 3545852.00 Cr."

I want thousand separator also.

Is it possible???
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
The thousands separator separates thousands, not hundreds. You need to add the comma as text:

="Rs. " & TEXT(A1,"00\,00\,000.00")& " Cr."
 
Upvote 0
Thanks Andrew.

Just one more thing why you use "\"?? when

="Rs. " & TEXT(A1,"00,000.00")& " Cr." gives same result.
 
Upvote 0
That doesn't give the same result, it gives Rs. 3,545,852.00 Cr.. The backslash is used to add characters within the format, eg ="Rs. " & TEXT(A1,"00\|00\|000.00")& " Cr.". For more information see:

Number format codes - Excel - Office.com

Actually it's a regional setting. When region is set to English(India) digits groups like 35,45,852.00 else if region is set to English(U.S.) it displays 3,545,852.00
 
Upvote 0
I wasn't aware of that. It seems to have been introduced in Excel 2007. With English(India) set you can use:

=TEXT(A1,"#,##0.00")
 
Upvote 0
Hi all

I have numbers in cell A1 (say 3545852) as a sum of a data range. I want to display it like this "Rs. 35,45,852.00 Cr."

How can i do this. I used text function like this

="Rs. " & text(A1,"0,00.00") & " Cr."

But it displays "Rs. 3545852.00 Cr."

I want thousand separator also.

Is it possible???
You may find this mini-blog article of mine to be of some interest...

Excel Number Format: Indian Style Comma Separation
 
Upvote 0

Forum statistics

Threads
1,221,477
Messages
6,160,063
Members
451,615
Latest member
soroosh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top