matching more than one column

csgraves

Board Regular
Joined
Dec 9, 2002
Messages
106
I am trying to match multiple columns. I have data in columns c&h, there are 23000 rows and I want to find an exact match in columns s&v and there are 1200 rows in these columns.

example


column a column c column h column n column s column v

agent number last name last 4 of social ? last name last 4 of social


if the columns find an exact match, I want to return the value in column A in column n which is an agent number to go with columns s&v.

Just got stuck and can't fine a solution.

Thanks for any help.

Scott
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I tried this...this just compares the specific cells labels c2, h2, s2 and v2. I need it to compare the list and search for like names and enter the agent number. Any ideas?

thanks for your help
 
Last edited:
Upvote 0
Maybe
=IFERROR(INDEX(A$2:N$23000,MATCH(1,INDEX((S$2:S$1200=C2)*(V$2:V$1200=H2),0),0),1),"")
 
Upvote 0
I can't seem to get those to work, but thanks everyone.

I need something like this, but not sure how to write the formula:

Compare column H2:H23000 to column S2:1200, if exact match, return number in column A for that match in those columns

Any ideas?

Thanks!

Scott
 
Upvote 0
How about
=IFERROR(INDEX(A$2:A$23000,MATCH(H2,S$2:S$1200,0),1),"")
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top