VLOOKUP or INDEX Multiple Columns

kiyo052

Board Regular
Joined
Oct 11, 2013
Messages
134
I was wondering if there was a formula that is similar to vlookup but throughout a large table.

For example,

My table range would be from A1:H6

If A8= Kate then B8= 4/1/12
If A9= Ashley then B9 = 4/1/15
If A10= Mindi then B10 = 6/1/15
If A11= Andre then B11= 1/1/10

Please let me know if this would be at all possible. Thank you in advance for the help!!!!


ABCDEFGHIJK
1Dave12/1/12Richard1/1/10Matt1/1/13Andre1/1/10
2Mark11/1/12Erin6/1/13Kerry9/1/14Todd10/1/12
3Justin1/1/12Brendan1/1/14Jessica9/1/14Troy4/1/13
4Kate4/1/12Ashley4/1/15Mandy12/1/14Greg2/1/13
5Mindi6/1/15Tom12/1/14
6
7
8Kate4/1/12
9Ashley4/1/15
10Mindi6/1/15
11Andre1/1/10
12
13

<tbody>
</tbody>

 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try

=SUMPRODUCT(($A$1:$G$5=A8)*$B$1:$H$5)

Note that this will not work if there are any duplicate names in the table or if the results to be returned are not numeric (dates are numeric). The formula might show the results as serial numbers instead of dates, in which case you just need to apply the correct format to those cells.
 
Upvote 0
Oops, my bad. Try this one instead.

=SUMPRODUCT(--($A$1:$G$5=A8),$B$1:$H$5)

If that causes the same problem then we will need to look at alternatives.
 
Upvote 0

Forum statistics

Threads
1,214,605
Messages
6,120,473
Members
448,967
Latest member
visheshkotha

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