Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Merging 3 rows of numbers together

I have 3 columns of numbers and in each row I need to merge the those 3
columns together to become one number. example: 50 00008895 2007. I
can get them to merge but the formula keeps dropping the 0's
--
Mary C
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,069
Default Merging 3 rows of numbers together

If you concatenate the three cells like this
=A1&B1&C1
and the zeros before 8895 get dropped, it may be that 8895 is stored as a
number with a custom format (like "00000000") to display the leading zeros.
If it was stored as text, it should keep the zeros when you concatenate it.
If the entries in the 00008895 column are always 8 characters, then a formula
like the following may work for you:
=A1&TEXT(B1,"00000000")&C1

Hope this helps,

Hutch

"Mary C" wrote:

I have 3 columns of numbers and in each row I need to merge the those 3
columns together to become one number. example: 50 00008895 2007. I
can get them to merge but the formula keeps dropping the 0's
--
Mary C

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
Merging 2 excel sheets with numbers and words Excelnewbie New Users to Excel 1 July 27th 09 06:00 PM
Is merging rows possible? Mr BT[_2_] Excel Worksheet Functions 1 May 16th 08 04:28 PM
When merging phone numbers do not keep formatting why? Excel formatting troubles Excel Worksheet Functions 1 March 14th 06 10:30 PM
Merging data looking up (Account) numbers in a coloumn gandhi318 Excel Worksheet Functions 0 December 29th 05 03:58 PM
Merging rows Peter Horrocks New Users to Excel 1 November 15th 05 12:01 PM


All times are GMT +1. The time now is 03:15 AM.

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"