Excel Match Formula

Robert_Conklin

Board Regular
Joined
Jun 19, 2017
Messages
173
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I need an excel formula that will match the name from column E from the first spreadsheet to the name in column C from the second spreadsheet (both in the same workbook) and return the value in column D from the second spreadsheet.
 
I played around with the Index/Match combo and developed the following that worked:

=INDEX(Table15[Global ID],MATCH([@Name],Table15[Name],0))
Glad you got something that worked. (You didn't tell us before that your data was in 'formal' Tables though. :))



=IFERROR(VLOOKUP(E2,'Giant List '!C$1:D$5,2,0),"Not found")
I tried a modified formula to encompass the actual arrays:

=IFERROR(VLOOKUP(E:E,'Company Wide Global ID & AD ID'!A:A,2,0),"Not found")

Even though I looked up a couple of the names to see if they were on the giant list, which they were, it still brought back 'Not Found'.
Just FYI, the reason this always returned "Not found" was that you modified it incorrectly in two ways:
  1. By trying to put a whole column where and individual cell must go

  2. By replacing what must be a multi-column range with a single-column range but still trying to reference the 2nd column of that range
Each of these would cause the VLOOKUP to error and hence the IFERROR result was returned.
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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