comparing values

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

Hello,

I would like to compare values in a excel spreadsheet. I want to have
it compare two columns that would be in scrambled order. For example:
If anything in column A equals anything in column B then place a
check in column C. Here is an example of what it could look like. I
appreciate any suggestions.

1 2
2 3 X
3 4 X
4 X


Thanks
Tom
 
Tom,

Put this formula in C1 and copy down

=IF(NOT(ISNA(MATCH(A1,B:B,0))),"X","")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top