Vlookup/Index Match on multiple items

c_cha

New Member
Joined
Mar 11, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
If I have a picklist for all twelve months and each month has two variables, how would I created a formula that pulls in one of two variables I want and change based on the month I select?

Example below. If I wanted to pull John February Returns or James March Sales.

1615507633790.png


Thanks for your help!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try this (you didn't say where you wanted the result(s)):

Book3 (version 1).xlsb
ABCDEFG
1Jane
2March
3JanuaryFebruaryMarch
4SalesReturnsSalesReturnsSalesReturns
5John123456
6James789101112
7Jane131415161718
8
9Sales17
10Returns18
Sheet5
Cell Formulas
RangeFormula
B9B9=INDEX($B$5:$G$7,MATCH(A1,$A$5:$A$7,0),MATCH(A2,$B$3:$G$3,0))
B10B10=INDEX($B$5:$G$7,MATCH(A1,$A$5:$A$7,0),1+MATCH(A2,$B$3:$G$3,0))
 
Upvote 0
Try this (you didn't say where you wanted the result(s)):

Book3 (version 1).xlsb
ABCDEFG
1Jane
2March
3JanuaryFebruaryMarch
4SalesReturnsSalesReturnsSalesReturns
5John123456
6James789101112
7Jane131415161718
8
9Sales17
10Returns18
Sheet5
Cell Formulas
RangeFormula
B9B9=INDEX($B$5:$G$7,MATCH(A1,$A$5:$A$7,0),MATCH(A2,$B$3:$G$3,0))
B10B10=INDEX($B$5:$G$7,MATCH(A1,$A$5:$A$7,0),1+MATCH(A2,$B$3:$G$3,0))
You are a master! Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,172
Members
448,870
Latest member
max_pedreira

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