#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default combine 2 columns

Dear Expert,
I have three columns one contain the name of 10 patients, the second
one contain the age of 5 patients , P1, P3 , P4 ,P6 , and P10 , the
third column contain the age or the rest patients ( P2,P5,P7,P8, and
P9).
The question is, how can I combine columns 2 and 3 in one?
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default combine 2 columns

Hi,

To combine in column 2.

Select column 3 and right click and copy.
Select column 2 and then Edit|paste special|add and click Ok.
Delete column 3.

Mike

"Omar" wrote:

Dear Expert,
I have three columns one contain the name of 10 patients, the second
one contain the age of 5 patients , P1, P3 , P4 ,P6 , and P10 , the
third column contain the age or the rest patients ( P2,P5,P7,P8, and
P9).
The question is, how can I combine columns 2 and 3 in one?
Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default combine 2 columns

Hi Omar,

One way
Assuming your data is in columns A,B and C then in D1
put =IF(C1="",B1,C1) and drag down as far as needed
then delete columns B and C

This also assumes that, if there is a value in column B, then
there is no value in column C and vice versa.

HTH
Martin



"Omar" wrote in message
ups.com...
Dear Expert,
I have three columns one contain the name of 10 patients, the second
one contain the age of 5 patients , P1, P3 , P4 ,P6 , and P10 , the
third column contain the age or the rest patients ( P2,P5,P7,P8, and
P9).
The question is, how can I combine columns 2 and 3 in one?
Thanks.



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
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
How do you combine columns? bailey Excel Discussion (Misc queries) 1 December 11th 05 06:04 AM
combine 2 columns David Excel Worksheet Functions 3 September 26th 05 07:13 PM
combine columns RDB Excel Worksheet Functions 3 March 15th 05 04:07 PM


All times are GMT +1. The time now is 04:57 AM.

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"