#1   Report Post  
Posted to microsoft.public.excel.misc
RMP RMP is offline
external usenet poster
 
Posts: 16
Default Number formatting

Please help.

I have a large spreadsheet to format. The first 3 columns contain parts of
an account number. The first column containing 2 digits (00) the 2nd
containing 5 digits (00000) and the 3rd containing three digits (000) ie. 00
00000 000.

I have used the following formula to migrate the contents into 1 column,
=(A3&" "&B3&" "&C3) in the hope that it would form a number like this
00 00000 000.

The problem is some of the account numbers begin with zeros. so 01 00435 020
shows as 1 435 20. I have formatted the cells to show a custom number, pasted
the values rather than the formula in the cells and nothing will work.

Any help would be very much appreciated.

Thanks
--
RMP
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Number formatting

=(TEXT(A3,"00")&" "&TEXT(B3,"00000")&" "&TEXT(C3,"000"))
--
David Biddulph

"RMP" wrote in message
...
Please help.

I have a large spreadsheet to format. The first 3 columns contain parts of
an account number. The first column containing 2 digits (00) the 2nd
containing 5 digits (00000) and the 3rd containing three digits (000) ie.
00
00000 000.

I have used the following formula to migrate the contents into 1 column,
=(A3&" "&B3&" "&C3) in the hope that it would form a number like this
00 00000 000.

The problem is some of the account numbers begin with zeros. so 01 00435
020
shows as 1 435 20. I have formatted the cells to show a custom number,
pasted
the values rather than the formula in the cells and nothing will work.

Any help would be very much appreciated.

Thanks
--
RMP



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Number formatting

Try =CONCATENATE(TEXT(A3,"00")," ",TEXT(B3,"00000")," ",TEXT(C3,"000"))
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"RMP" wrote:

Please help.

I have a large spreadsheet to format. The first 3 columns contain parts of
an account number. The first column containing 2 digits (00) the 2nd
containing 5 digits (00000) and the 3rd containing three digits (000) ie. 00
00000 000.

I have used the following formula to migrate the contents into 1 column,
=(A3&" "&B3&" "&C3) in the hope that it would form a number like this
00 00000 000.

The problem is some of the account numbers begin with zeros. so 01 00435 020
shows as 1 435 20. I have formatted the cells to show a custom number, pasted
the values rather than the formula in the cells and nothing will work.

Any help would be very much appreciated.

Thanks
--
RMP

  #4   Report Post  
Posted to microsoft.public.excel.misc
RMP RMP is offline
external usenet poster
 
Posts: 16
Default Number formatting

Thank you very much, you have no idea how much easier you just made my life!!!!

Good job!
--
RMP


"David Biddulph" wrote:

=(TEXT(A3,"00")&" "&TEXT(B3,"00000")&" "&TEXT(C3,"000"))
--
David Biddulph

"RMP" wrote in message
...
Please help.

I have a large spreadsheet to format. The first 3 columns contain parts of
an account number. The first column containing 2 digits (00) the 2nd
containing 5 digits (00000) and the 3rd containing three digits (000) ie.
00
00000 000.

I have used the following formula to migrate the contents into 1 column,
=(A3&" "&B3&" "&C3) in the hope that it would form a number like this
00 00000 000.

The problem is some of the account numbers begin with zeros. so 01 00435
020
shows as 1 435 20. I have formatted the cells to show a custom number,
pasted
the values rather than the formula in the cells and nothing will work.

Any help would be very much appreciated.

Thanks
--
RMP




  #5   Report Post  
Posted to microsoft.public.excel.misc
RMP RMP is offline
external usenet poster
 
Posts: 16
Default Number formatting

Thank you very much, that is awesome. Made everything a hell of a lot easier!!
--
RMP


"john" wrote:

Try =CONCATENATE(TEXT(A3,"00")," ",TEXT(B3,"00000")," ",TEXT(C3,"000"))
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"RMP" wrote:

Please help.

I have a large spreadsheet to format. The first 3 columns contain parts of
an account number. The first column containing 2 digits (00) the 2nd
containing 5 digits (00000) and the 3rd containing three digits (000) ie. 00
00000 000.

I have used the following formula to migrate the contents into 1 column,
=(A3&" "&B3&" "&C3) in the hope that it would form a number like this
00 00000 000.

The problem is some of the account numbers begin with zeros. so 01 00435 020
shows as 1 435 20. I have formatted the cells to show a custom number, pasted
the values rather than the formula in the cells and nothing will work.

Any help would be very much appreciated.

Thanks
--
RMP

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
number formatting Sam Excel Worksheet Functions 4 January 10th 07 09:04 PM
number formatting Louise Excel Worksheet Functions 5 November 24th 06 07:16 PM
formatting cell number based on previous cell number Pasquini Excel Discussion (Misc queries) 3 June 20th 06 06:36 AM
Number formatting jordan Excel Discussion (Misc queries) 1 October 4th 05 02:00 PM
Number formatting KP Lost in Formatting Excel Worksheet Functions 2 January 14th 05 08:46 PM


All times are GMT +1. The time now is 02:58 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"