# Matrix Table Lookups?

#### lukman4068

##### New Member
Hi guys,

I've been stumped on how to do this!

I need excel to be able to populate that Points field automatically depending on what the start and end cycles are.

Is there some sort of VLookup formula that you could use? Any help would be much appreciated!

Thanks!

Last edited:

#### Norie

##### Well-known Member
There's probably a better formula but try this in D10 and copy down.

=INDEX(\$C\$3:\$F\$6,C10+1,B10+1)

##### Well-known Member
Excel Workbook
CDEFGHIJKL
2Start Cycle
30123
4Start CycleEnd CyclePoints00.010.0250.0290.031
5320.06510.0410.0490.056
6210.04120.0650.027
700030.086
8300.029
Sheet1

#### lukman4068

##### New Member
that actually works! Sorry if it sounds silly, but i'm pretty new to really getting into using excel - but how does that actual formula work and how do you build it up to do what you've got it doing?

Thanks! :D

##### Well-known Member
Excel Workbook
CDEFGHIJKLM
2Start Cycle
30123
4Start CycleEnd CyclePoints00.010.0250.0290.031
5320.02710.0410.0490.056
6210.04920.0650.027
7000.0130.086
8300.031
9
Sheet1

#### sanrv1f

##### MrExcel MVP
may be this

assuming data is in C1:G6 and result table is in C14:E18

E15

=INDEX(\$C\$2:\$G\$6,MATCH(D15,\$C\$2:\$C\$6,0),MATCH(C15,\$C\$2:\$G\$2,0))

and copied down

#### lukman4068

##### New Member
thanks for the help! it works fantastically! :D