#N/A error with Parlay formula

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,
The formula in A:A works correctly, but when #N/A (G98:G99) is present, it results in "W", when it should be "a blank" until the fields are "W" or "L".
Thank you.


Wagers.xlsm
ABCDEFGHIJ
97WNFLParlay$ 5.00$ 4.00
98#N/A#N/A#N/A#N/A
99#N/A#N/A#N/A#N/A
NFL
Cell Formulas
RangeFormula
A97A97=IF(COUNTIF($G98:$G99,"L")>0,"L",IF(COUNTIF($G98:$G99,0)>0,"a blank","W"))
G98:G99G98=INDEX('[NFL.xlsm]Weekly Picks'!$E$4:$E$35,MATCH($H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,FALSE))
H98:H99H98=LOOKUP(2, 1/((COUNTIF($H$97:$H97,'[NFL.xlsm]Weekly Picks'!$H$4:$H$35)=0)*('[NFL.xlsm]Weekly Picks'!$H$4:$H$35<>"")*('[NFL.xlsm]Weekly Picks'!$F$4:$F$35="*")),'[NFL.xlsm]Weekly Picks'!$H$4:$H$35)
I98:I99I98=IF(1=MOD(MATCH(H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,0),2),INDEX('[NFL.xlsm]Weekly Picks'!$A$4:$A$35,MATCH(H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,0)+1),INDEX('[NFL.xlsm]Weekly Picks'!$A$4:$A$35,MATCH(H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,0)-1))
J98:J99J98=INDEX('[NFL.xlsm]Weekly Picks'!$F$4:$F$35,MATCH($H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,FALSE))
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Just change the formula in G98 to
Excel Formula:
=IFNA(INDEX('[NFL.xlsm]Weekly Picks'!$E$4:$E$35,MATCH($H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,FALSE)),0)
 
Upvote 0
Solution
Just change the formula in G98 to
Excel Formula:
=IFNA(INDEX('[NFL.xlsm]Weekly Picks'!$E$4:$E$35,MATCH($H98,'[NFL.xlsm]Weekly Picks'!$A$4:$A$35,FALSE)),0)
Thank you.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,435
Members
448,898
Latest member
dukenia71

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