Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 577
Default How do I format the number -123456789 as -12,34,56,789?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,202
Default How do I format the number -123456789 as -12,34,56,789?

Select Format Cells, click on Number in the Category list, set Decimal
Places to 0 and click on the first item in the Negative Numbers list (which
should be -1,234).

Rick

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default How do I format the number -123456789 as -12,34,56,789?

hi, Scott !

try with the following custom number format:
[9999999]##\,##\,##\,##0;[99999]##\,##\,##0;#,##0

hth,
hector.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 577
Default How do I format the number -123456789 as -12,34,56,789?

Hi Hector

Thank You.

The solution offered does not work for negative numbers. Can you please help?

Scott

"Héctor Miguel" wrote:

hi, Scott !

try with the following custom number format:
[9999999]##\,##\,##\,##0;[99999]##\,##\,##0;#,##0

hth,
hector.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default How do I format the number -123456789 as -12,34,56,789?

Scott Hi,

In format cellscustom create the following
##","##","##","###
it should display + or - the way you require

Joco (London)

"Scott" wrote:

Hi Hector

Thank You.

The solution offered does not work for negative numbers. Can you please help?

Scott

"Héctor Miguel" wrote:

hi, Scott !

try with the following custom number format:
[9999999]##\,##\,##\,##0;[99999]##\,##\,##0;#,##0

hth,
hector.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 434
Default How do I format the number -123456789 as -12,34,56,789?

hi, Scott !

The solution offered does not work for negative numbers. Can you please help?


with Joco's proposal you will see *extra* commas if number is less than 9 digits

for negative numbers try with the following custom number format:
[<-9999999]-##\,##\,##\,##0;[<-99999]-##\,##\,##0;#,##0

[however] you won't be able to mix positive/negative number usin only one format :-(

you might want to give a try an extra cell/column and ws-functions [i.e.]
assuming the number in 'A1':

=text(a1,rept("##\,",match(len(abs(a1)),{3;4;6;8})-1)&"##0")

hth,
hector.

try with the following custom number format:
[9999999]##\,##\,##\,##0;[99999]##\,##\,##0;#,##0



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
HOW DO I CHANGE THE FORMAT OF A SS# FROM 123-45-6789 TO 123456789 doug@sunwest Excel Worksheet Functions 4 May 6th 06 01:57 AM
Replace million-billion number format to lakhs-crores format Sumit Excel Discussion (Misc queries) 1 December 9th 05 04:58 PM
Change number (in text format) to numeric format Pam Excel Discussion (Misc queries) 5 October 24th 05 07:45 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
excel format cells/Number/Category: Number problem Matts Excel Discussion (Misc queries) 5 December 9th 04 09:47 PM


All times are GMT +1. The time now is 12:45 PM.

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

About Us

"It's about Microsoft Excel"