How to use the Index Function with names instead of cell positions as headers

DownUnderFar

New Member
Joined
Jul 4, 2022
Messages
16
Office Version
  1. 365
Platform
  1. MacOS
How do I use the index function when my rows and columns are identified by name rather than position:

For example: How do I enter the data of the cell for KSA, 154? Index(A1:C8, "KSA", "154")

A1B1 154C1 132
A2 HNL7:30 AM7:30 AM
A3 MAJ10:35 AM - 11:20 AM10:35 AM - 11:40 AM
A4 KWA12:20 PM - 12:59 PM N/A
A5 KSA1:15 PM - 1:47 PMN/A
A6 PNI2:52 PM - 3:20 PM1:15 PM - 2:05 PM
A7 TKK3:40 PM - 4:20 PM2:25 PM - 3:30 PM
A8 GUM6:00 PM5:10 PM
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
You could use an Index/Match/Match
Book1
ABC
1A1B1 154C1 132
2A2 HNL7:30 AM7:30 AM
3A3 MAJ10:35 AM - 11:20 AM10:35 AM - 11:40 AM
4A4 KWA12:20 PM - 12:59 PMN/A
5A5 KSA1:15 PM - 1:47 PMN/A
6A6 PNI2:52 PM - 3:20 PM1:15 PM - 2:05 PM
7A7 TKK3:40 PM - 4:20 PM2:25 PM - 3:30 PM
8A8 GUM6:00 PM5:10 PM
9
10
111:15 PM - 1:47 PM
Sheet1
Cell Formulas
RangeFormula
B11B11=INDEX($A$1:$C$8,MATCH("* KSA",$A$1:$A$8,0),MATCH("* 154",A1:C1,0))
 
Upvote 0
I think that sample data includes cell addresses so it may be ..

23 07 03.xlsm
ABC
1154132
2HNL7:30 AM7:30 AM
3MAJ10:35 AM - 11:20 AM10:35 AM - 11:40 AM
4KWA12:20 PM - 12:59 PMN/A
5KSA1:15 PM - 1:47 PMN/A
6PNI2:52 PM - 3:20 PM1:15 PM - 2:05 PM
7TKK3:40 PM - 4:20 PM2:25 PM - 3:30 PM
8GUM6:00 PM5:10 PM
9
10
111:15 PM - 1:47 PM
INDEX
Cell Formulas
RangeFormula
B11B11=INDEX($A$1:$C$8,MATCH("KSA",$A$1:$A$8,0),MATCH(154,A1:C1,0))
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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