Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default Merge two columns of data with a condition

Hello,

I am trying to put information that is in two columns into a third column,
but I don't the two columns concatenated. If the same information is in both
columns then I want only the information in column 1 brought over to column
3. If information is only in column 1 or 2 then I want that information
brought over to column 3. When both columns have information, the
information will always be the same. Is there a function or formula that can
do what i want.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default Merge two columns of data with a condition


If A and B are your columns, put this in C1 and copy down:

=IF(A1=B1,A1,A1&B1)


"Richard" wrote:

Hello,

I am trying to put information that is in two columns into a third column,
but I don't the two columns concatenated. If the same information is in both
columns then I want only the information in column 1 brought over to column
3. If information is only in column 1 or 2 then I want that information
brought over to column 3. When both columns have information, the
information will always be the same. Is there a function or formula that can
do what i want.

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
How to merge two columns of data David in VB[_2_] Excel Discussion (Misc queries) 4 February 19th 08 03:48 PM
How can I merge data in several columns in Excel or Access? Swiftsilver Excel Discussion (Misc queries) 3 August 13th 07 05:36 PM
How do I merge 2 columns of numerical data? Callum Excel Discussion (Misc queries) 1 May 12th 06 05:09 PM
How do I merge two columns without losing data? Caseybay Excel Discussion (Misc queries) 4 January 13th 06 09:03 PM
How to merge rows of data in 2 columns into 1 col. Pianoman New Users to Excel 1 December 6th 05 05:29 AM


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