Forum Discussion
Formula error
I can't figure out how to fix my error!
2 Replies
- NikolinoDEPlatinum Contributor
Excel doesn't know what PossiblePtsMid means. It's looking for a named range (a saved group of cells), but that name doesn't exist in your workbook yet.
The Fix (pick one):
Option 1 – Define the named range (best way)
If you have a row with the maximum points for each column (D through R):- Select all those max-point cells (e.g., D1:R1).
- Go to Formulas > Define Name.
- Type PossiblePtsMid as the name, set Scope to Workbook, and click OK.
Your formula will now work.
Option 2 – Use a single total number
If you know the total maximum points (say 300):- Type 300 into any empty cell.
- Select that cell, go to Formulas > Define Name, name it PossiblePtsMid, and click OK.
Option 3 – Quick shortcut (skip naming)
Just replace SUM(PossiblePtsMid) with the actual total number. For example:
=IF(SUM(D10:R10)/300<70%, "Warning!", "OK")Note…
Your columns AC, AD, and AE also show #NAME? – they likely use other missing names. Fix them the same way (define those names or replace them with numbers).That's it! Start with Option 1 if you have a points row.
My answers are voluntary and without guarantee!
Hope this will help you.
- m_tarlerSilver Contributor
It would help if you included the whole formula. Also, what is "PossiblePtsMid" ? Is that a valid named range or values? If you click in the cell and highlight that name and then hover over that highlight does it show values or #NAME? and/or highlight the whole SUM(PossiblePtsMid) and does it show the correct sum you were expecting or #NAME?
If that isn't the issue and there isn't something after the "Warning!" (i.e. in the false conditional output) then is is possible the version/location your are using is expecting semi-colon instead of commas?