Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RBS
 
Posts: n/a
Default Excel Formula or tool to compare two columns of data

I am looking for a formula in excel that will compare to columns of data and
put a result in another column. Basically: "If the number in column A (each
row will have a different number) appears in column E (any row and may even
have multiple occurences), put a Y in column G on the row in which the column
A number appears." Does that even make sense?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Per Erik Midtrød
 
Posts: n/a
Default Excel Formula or tool to compare two columns of data

I think you will need to use an ID, ISERROR and VLOOKUP.
Something like this in G1:
=IF(ISERROR(VLOOKUP(A1;E:E;1;FALSE));"";"Y")

Per Erik

On Fri, 14 Apr 2006 08:49:01 -0700, RBS
wrote:

I am looking for a formula in excel that will compare to columns of data and
put a result in another column. Basically: "If the number in column A (each
row will have a different number) appears in column E (any row and may even
have multiple occurences), put a Y in column G on the row in which the column
A number appears." Does that even make sense?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Excel Formula or tool to compare two columns of data

Hi!

Does that even make sense?


Yes!

Try this in G1:

=IF(COUNTIF(E$1:E$100,A1),"Y","")

Then just copy down as needed.

Biff

"RBS" wrote in message
...
I am looking for a formula in excel that will compare to columns of data
and
put a result in another column. Basically: "If the number in column A
(each
row will have a different number) appears in column E (any row and may
even
have multiple occurences), put a Y in column G on the row in which the
column
A number appears." Does that even make sense?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Excel Formula or tool to compare two columns of data

Try this in G1:

=IF(COUNTIF($A$1:$A$100,"="&E1)0,"Y","")

Copy down as needed.

HTH,
Elkar


"RBS" wrote:

I am looking for a formula in excel that will compare to columns of data and
put a result in another column. Basically: "If the number in column A (each
row will have a different number) appears in column E (any row and may even
have multiple occurences), put a Y in column G on the row in which the column
A number appears." Does that even make sense?

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 compare 6 columns of text data Deeptiman Excel Worksheet Functions 2 January 20th 06 07:13 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Macro to compare two columns of data Odawg Excel Discussion (Misc queries) 0 October 12th 05 03:13 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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