Excel How to compare multiple column in excel sheet

How do we in excel to combine the cell to make the comparison and if it  match then it will output to empty column in excel.

For example, Column A and Column B  ( Master column ) will compare with value in  column C and Column D ( Input column) , if all 4 has the  matching value then  it will output the result into column E and column D. The list is quite long which around 20k rows so  the matching value can be somewhere within the rows.

I used to compare with an excel formula  below,  apparently this only works to compare two column.


I provide the sample of the data,  perhaps someone expert can show how to make a comparison
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

timgreen7077Exchange EngineerCommented:
See the attachment, this is the process I use almost daily to compare values in 2 columns in Excel and it works like a charm, not sure if its enough to help you it works like a charm for me. Also this is the link to the site where i found this a few months ago. Really quick and easy

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Since you didn't show the desire output you want to achieve, all I can suggest you to try...

In E2

Open in new window

and then copy it across to column F and down.

If that's now what you are trying to achieve, please mock up the desired output manually and upload the sample file again.
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Here is the file with the formula...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.