Compare two lists with two variables

  • Thread starter Thread starter John
  • Start date Start date
J

John

If I wanted to check that the Surname AND the Firstnames were the same
in each of four columns,
what changes would I make? Ideally I would wwish that the output was as
below:-

Column A Column B Column C Column D
Surname Forename Common entry Surname Common entry Forname

Wilson Bob Wilson
Bob



Jonah
 
Hi John,

How about this ARRAY formula (Ctrl+Shift+Enter):

=AND(A2:B2=C2:D2)

Regards,
KL
 
I am not sure what this tells me. Please can you explain the
(Ctrl+Shift+Enter) and where do I put the formula?

John
-----------------
 
This will give you TRUE if the pairs are identical and FALSE if they are
not. "Ctrl+Shift+Enter" hasn't more explanation than that it is necessary
with (some) array formulas (formulas that operate with arrays, not single
values).

Regards,
KL
 

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

Back
Top