Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 447
Default matching 2 columns of data

Hi
How do I match up 2 columns of data to see if any data in column A matches
any data in column B, and put this in column C?
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default matching 2 columns of data

Put in C1 and copy down column c

=If(A1=B1, B1, "")

karen wrote:

Hi
How do I match up 2 columns of data to see if any data in column A matches
any data in column B, and put this in column C?
Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 447
Default matching 2 columns of data

Thanks Bob. Presume that just compares A1 to B1 and so on...Do you know how
you would compare the whole of column A to column B?
Thanks.

"Bob I" wrote:

Put in C1 and copy down column c

=If(A1=B1, B1, "")

karen wrote:

Hi
How do I match up 2 columns of data to see if any data in column A matches
any data in column B, and put this in column C?
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default matching 2 columns of data

I don't understand the the question. Do you mean do the contents of all
the cells in column a equal all the contents of cell of column b? What
are you checking for? You asked for any matches, if they all match then
there will be no blank cells in column C. Or use Countif and see that
the number of C cells that are not "" equals the number of items in A or B.

karen wrote:

Thanks Bob. Presume that just compares A1 to B1 and so on...Do you know how
you would compare the whole of column A to column B?
Thanks.

"Bob I" wrote:


Put in C1 and copy down column c

=If(A1=B1, B1, "")

karen wrote:


Hi
How do I match up 2 columns of data to see if any data in column A matches
any data in column B, and put this in column C?
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
matching data in columns k cunningham Excel Discussion (Misc queries) 3 February 14th 07 03:49 PM
Matching two columns and their data [email protected] Excel Worksheet Functions 2 March 6th 06 08:17 PM
Matching Data in Columns ebraun01 Excel Worksheet Functions 7 January 14th 06 02:35 AM
Matching data from 2 columns doohen Excel Worksheet Functions 12 December 22nd 05 07:05 PM
How to take matching data from 2 columns and put in the same row? JustinM New Users to Excel 1 May 27th 05 12:32 AM


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