Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pete
 
Posts: n/a
Default Merging data to one cell from many

I want to take the contents from 4 cells and merge the data to one cell. The
cells are all numbers (the example below is what I'm trying to merge.)


CELL1 CELL2 CELL3 CELL4 Merged cell
1250 0301 140 003 12500301140003

I can use this formula
=CONCATENATE(Cell 1,Cell 2,Cell 3,Cell 4)
But it leaves out the zeros in the merged cell. They're important.
  #2   Report Post  
Eddie O
 
Posts: n/a
Default

this may work:
=CONCATENATE(T(Cell 1),T(Cell 2),T(Cell 3),T(Cell 4))


Eddie O

"Pete" wrote:

I want to take the contents from 4 cells and merge the data to one cell. The
cells are all numbers (the example below is what I'm trying to merge.)


CELL1 CELL2 CELL3 CELL4 Merged cell
1250 0301 140 003 12500301140003

I can use this formula
=CONCATENATE(Cell 1,Cell 2,Cell 3,Cell 4)
But it leaves out the zeros in the merged cell. They're important.

  #3   Report Post  
Pete
 
Posts: n/a
Default

Nah.
Sure didn't. All I get from that formula is a blank cell. Even formatted
cells to text (assuming that is what the T is for?

"Eddie O" wrote:

this may work:
=CONCATENATE(T(Cell 1),T(Cell 2),T(Cell 3),T(Cell 4))


Eddie O

"Pete" wrote:

I want to take the contents from 4 cells and merge the data to one cell. The
cells are all numbers (the example below is what I'm trying to merge.)


CELL1 CELL2 CELL3 CELL4 Merged cell
1250 0301 140 003 12500301140003

I can use this formula
=CONCATENATE(Cell 1,Cell 2,Cell 3,Cell 4)
But it leaves out the zeros in the merged cell. They're important.

  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

one way:

=TEXT(Cell1,"0000") & TEXT(Cell2,"0000") & TEXT(Cell3,"000") &
TEXT(Cell4,"000")

In article ,
"Pete" wrote:

I want to take the contents from 4 cells and merge the data to one cell. The
cells are all numbers (the example below is what I'm trying to merge.)


CELL1 CELL2 CELL3 CELL4 Merged cell
1250 0301 140 003 12500301140003

I can use this formula
=CONCATENATE(Cell 1,Cell 2,Cell 3,Cell 4)
But it leaves out the zeros in the merged cell. They're important.

  #5   Report Post  
Pete
 
Posts: n/a
Default

Genius!
Thanks. This will save a bunch of work...

"JE McGimpsey" wrote:

one way:

=TEXT(Cell1,"0000") & TEXT(Cell2,"0000") & TEXT(Cell3,"000") &
TEXT(Cell4,"000")

In article ,
"Pete" wrote:

I want to take the contents from 4 cells and merge the data to one cell. The
cells are all numbers (the example below is what I'm trying to merge.)


CELL1 CELL2 CELL3 CELL4 Merged cell
1250 0301 140 003 12500301140003

I can use this formula
=CONCATENATE(Cell 1,Cell 2,Cell 3,Cell 4)
But it leaves out the zeros in the merged cell. They're important.




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
Data validation, cell protection or other method? KG Excel Discussion (Misc queries) 5 June 17th 05 05:22 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Refering to a tab using data from a cell dan Excel Worksheet Functions 5 May 13th 05 01:24 PM
merging and formating data Daniel M New Users to Excel 5 February 20th 05 06:11 PM
Repeat Cell Data Pinky Excel Worksheet Functions 1 January 18th 05 05:38 PM


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