# Football Box Pool - Help With Formula??

#### olimits7

##### Board Regular
Hello,

I created a football box pool in excel and I used a combination of the OFFSET and MATCH formulas to find out who the winner is in each quarter depending on what score I put in the box. The formula works fine with single digit numbers, but I get a #N/A error for double digit scores.

For double digit scores it should just look at the last digit in the score to determine who won that quarter. Does anybody know of a way that I can just look at the second digit??

Here is a copy of the formula I used:

Code:
``=IF(OR(ISBLANK(\$C\$15),ISBLANK(\$C\$16)),"No Score",OFFSET(\$B\$2,MATCH(\$C\$16,\$B\$3:\$B\$12,0),MATCH(\$C\$15,\$C\$2:\$L\$2,0)))``

Thank you,

olimits7

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I'd suggest that INDEX is a better function to use than OFFSET in this situation but, nevertheless, for your specific request, if I understand correctly, try replacing C15 in the formula with MOD(C15,10) and similar for C16, i.e.

=IF(COUNT(C15:C16)=2,INDEX(C3:L12,MATCH(MOD(C16,10),B3:B12,0),MATCH(MOD(C15,10),C2:L2,0)),"No Score")

Thank you that worked out great.

olimits7

Replies
1
Views
132
Replies
8
Views
490
Replies
6
Views
369
Replies
2
Views
274
Replies
19
Views
1K

1,216,407
Messages
6,130,403
Members
449,581
Latest member
econtent2

### 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.

### Which adblocker are you using?

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

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