index match using column headers

Aqusmacro

New Member
Joined
Jan 8, 2024
Messages
46
Office Version
  1. 2013
Platform
  1. Windows
Hi I managed to get Index match to work with the headers using rows
If I click on data validation in B34 and choose a value, C34 data validation list is available dependent of what is in B34.
D34 shows the formula so you can see what I used. This formula is pasted in the data validition source for C34

I only showed part of the list as it is over 50 long therefore I would prefer doing the same thing but having the list in the columns like the bottom part of the sheet.
Is there a way to use columns as headers instead of rows?

Thanks


transactions.xlsx
BCDEFGHIJ
34Auto transportAuto FuelINDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
35
36Auto transportBank FeeBillsAlcohol & BarsCellularClothing
37Auto 2hydro
38Auto Fuelcell
39Auto Insurancebell
40Auto Other
41Fuel auto 2
42Payment
43Porsche
44Porsche Fuel
45
46Auto transportAuto 2Auto FuelAuto InsuranceAuto OtherFuel auto 2PaymentPorschePorsche Fuel
47Bank Fee
48Billshydrocellbell
49Alcohol & Bars
50Cellular
51Clothing
Sheet1
Cells with Data Validation
CellAllowCriteria
B34List=$B$36:$G$36
C34List=INDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Good morning I tried searching everywhere and can't find an answer for this.
Any help would be appreciated. Or knowing if it is even possible
Thanks
 
Upvote 0
similar to what you're doing

Book1
BCDEFGHIJ
34BillshydroINDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
35
36Auto transportBank FeeBillsAlcohol & BarsCellularClothing
37Auto 2hydro
38Auto Fuelcell
39Auto Insurancebell
40Auto OtherX
41Fuel auto 2
42Payment
43Porsche
44Porsche Fuel
45
46BillshydroINDEX($B$48:$J$53,MATCH($B$46,$B$48:$B$53,0),)
47
48Auto transportAuto 2Auto FuelAuto InsuranceAuto OtherFuel auto 2PaymentPorschePorsche Fuel
49Bank Fee
50Billshydrocellbell
51Alcohol & Bars
52CellularX
53Clothing
54
Sheet1
Cells with Data Validation
CellAllowCriteria
B34List=$B$36:$G$36
C34List=INDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
B46List=$B$48:$B$53
C46List=INDEX($C$48:$J$53,MATCH($B$46,$B$48:$B$53,0),)
 
Upvote 0
Solution
similar to what you're doing

Book1
BCDEFGHIJ
34BillshydroINDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
35
36Auto transportBank FeeBillsAlcohol & BarsCellularClothing
37Auto 2hydro
38Auto Fuelcell
39Auto Insurancebell
40Auto OtherX
41Fuel auto 2
42Payment
43Porsche
44Porsche Fuel
45
46BillshydroINDEX($B$48:$J$53,MATCH($B$46,$B$48:$B$53,0),)
47
48Auto transportAuto 2Auto FuelAuto InsuranceAuto OtherFuel auto 2PaymentPorschePorsche Fuel
49Bank Fee
50Billshydrocellbell
51Alcohol & Bars
52CellularX
53Clothing
54
Sheet1
Cells with Data Validation
CellAllowCriteria
B34List=$B$36:$G$36
C34List=INDEX($B$37:$G$44,,MATCH($B$34,$B$36:$G$36,0))
B46List=$B$48:$B$53
C46List=INDEX($C$48:$J$53,MATCH($B$46,$B$48:$B$53,0),)
exactly what I needed. Tried so many ways and couldn't figure out. Your solution worked great. thanks for replying
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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