I've forgotten how to do Index & Match

SteveP29

New Member
Joined
Jul 1, 2007
Messages
36
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi All,
As the title suggests, I've been unable to get and Index & Match formula to work.

I have it successfully for other parts of the sheet I'm working on.

What it is, is I'm setting up a golf competition, Matchplay with players with a higher handicap than their opponent being given 3/4 of the difference between their handicaps.
I have 4 tables to calculate the shots given, table 1 is a grid that calculates the difference between the players handicaps, table 2 is the same grid which then calculates 3/4 of the difference, table 3 is again, the same table but rounding down the difference to a whole number, table 4 does an if calculation to only show a number if the difference is greater than 0

Shots Table
Cell Formulas
RangeFormula
R12:Y12,Q13:Q20R12=H2
R13:Y20R13=IF(H13<0,0,H13)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
S13:Y13,R14,T14:Y14,R15:S15,U15:Y15,R16:T16,V16:Y16,R17:U17,W17:Y17,R18:V18,X18:Y18,R19:W19,Y19,R20:X20Cell Value=0textNO


On the scoring table, I have everything set up but the number of shots a player will get in their match against their opponent (the yellow shaded box is where the Index/ Match formula needs to go.

Scoring table
Spain 2026.xlsx
ABCD
10Match No.PlayerShots
115TEAM APlayer 1
20
21TEAM A
22TEAM B
24
27TEAM BPlayer 2
Singles LO (1)
Cell Formulas
RangeFormula
C11C11=Lineups!D25
C27C27=Lineups!K25


Whatever I've tried, it never works, any ideas anyone?
Thanks in advance
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
@SteveP29 Try like this.
In D11:
Excel Formula:
=INDEX(Handicaps!$Q$13:$Y$21,MATCH(C11,Handicaps!$Q$13:$Q$21,0),MATCH(C27,Handicaps!$Q$13:$Y$13,0))

In D27:
Excel Formula:
=INDEX(Handicaps!$Q$13:$Y$21,MATCH(C27,Handicaps!$Q$13:$Q$21,0),MATCH(C11,Handicaps!$Q$13:$Y$13,0))

HTH
 
Upvote 0
Solution
@SteveP29 Try like this.
In D11:
Excel Formula:
=INDEX(Handicaps!$Q$13:$Y$21,MATCH(C11,Handicaps!$Q$13:$Q$21,0),MATCH(C27,Handicaps!$Q$13:$Y$13,0))

In D27:
Excel Formula:
=INDEX(Handicaps!$Q$13:$Y$21,MATCH(C27,Handicaps!$Q$13:$Q$21,0),MATCH(C11,Handicaps!$Q$13:$Y$13,0))

HTH

Thank you, just to point out your solution gave the #n/a error, changing the ranges from Q13 to 12, Y21, to 20 and Y13 to 12 worked perfectly.

Thanks again
 
Upvote 0

Forum statistics

Threads
1,224,698
Messages
6,180,426
Members
452,981
Latest member
MarkS1234

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