Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
vnranand
 
Posts: n/a
Default How could the number, '102845678' be displayed as '10,28,45,678'?

How could the number, '102845678' be displayed as '10,28,45,678'?
  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

introduce this custom format

[=100000]##\,##\,##0.00;##,##0.00 indian style with 2 decimal

[=100000]##\,##\,##0;##,##0 indian style with no decimal


this is for commas after lakhs and thousands

modify to make the comma after crore also

this was given in the newsgroup. I am sorry I forgot to note down the name
of the MVP

vnranand wrote in message
...
How could the number, '102845678' be displayed as '10,28,45,678'?





  #3   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

V,

I don't think you can, at least if the comma is the thousands separator
("digit grouping symbol") called for in Windows Regional Settings. If you
can use another character, such as a hyphen, try Format - Cells - Number
tab - Custom, and put in something like:
##-##-##-###

Failing that, you could use a formula in another cell (another column,
perhaps). Post back for that. Or a worksheet change event macro could
convert the number to a string like you want.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"vnranand" wrote in message
...
How could the number, '102845678' be displayed as '10,28,45,678'?



  #4   Report Post  
Oliver Ferns via OfficeKB.com
 
Posts: n/a
Default

In short, you can't. Why? Because '10,28,45,678'is not a number. However,
were you to start the cell entry with an apostrophe "'" then you can
achieve the effect of 10,28,45,678. Excel will not be able to perform
numerical calculations on this cell.


Hth,
Oli

--
Message posted via http://www.officekb.com
  #5   Report Post  
IanRoy
 
Posts: n/a
Default

Hi, All;
Curious, I tried this. Custom format [=100000]##\,##\,##0;##,##0 gave me
1028,45,678 instead of 10,28,45,678. AutoSum worked on it, though. Adding two
of them gave me 2056,91,356. Excel treats these as numbers. It is wise to
avoid provincial assumptions about other peoples' number formats, and refrain
from blanket negatives about Excel. ;)
Regards,
Ian.

"Oliver Ferns via OfficeKB.com" wrote:

In short, you can't. Why? Because '10,28,45,678'is not a number. However,
were you to start the cell entry with an apostrophe "'" then you can
achieve the effect of 10,28,45,678. Excel will not be able to perform
numerical calculations on this cell.


Hth,
Oli

--
Message posted via http://www.officekb.com



  #6   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

as I said in the message this is for lakhs(an indian system of arithmetic).
you can MODIFY that for crores(the next level to lakh in indian system) ie.
10 crores 28 lakhs 45thousand 678.


IanRoy wrote in message
...
Hi, All;
Curious, I tried this. Custom format [=100000]##\,##\,##0;##,##0 gave me
1028,45,678 instead of 10,28,45,678. AutoSum worked on it, though. Adding

two
of them gave me 2056,91,356. Excel treats these as numbers. It is wise to
avoid provincial assumptions about other peoples' number formats, and

refrain
from blanket negatives about Excel. ;)
Regards,
Ian.

"Oliver Ferns via OfficeKB.com" wrote:

In short, you can't. Why? Because '10,28,45,678'is not a number.

However,
were you to start the cell entry with an apostrophe "'" then you can
achieve the effect of 10,28,45,678. Excel will not be able to perform
numerical calculations on this cell.


Hth,
Oli

--
Message posted via http://www.officekb.com



  #7   Report Post  
Posted to microsoft.public.excel.misc
bkurve
 
Posts: n/a
Default How could the number, '102845678' be displayed as '10,28,45,678'?


Reg: how to format numbers in indian style (in crores) instead of
default american style (in millions).

do a Ctrl+1 and copy-paste the following text into the " Type " box:

if you want two decimal places:
[=10000000]##\,##\,##\,##0.00;[=100000]##\,##\,##0.00;##,##0.00

If you don't want decimal places. use this
[=10000000]##\,##\,##\,##0;[=100000]##\,##\,##0;##,##0


--
bkurve
------------------------------------------------------------------------
bkurve's Profile: http://www.excelforum.com/member.php...o&userid=34516
View this thread: http://www.excelforum.com/showthread...hreadid=344315

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Number of rows displayed in worksheet cjstober Excel Discussion (Misc queries) 1 January 31st 05 11:59 PM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Displayed number format Kevin Excel Worksheet Functions 2 November 23rd 04 04:23 PM


All times are GMT +1. The time now is 04:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"