Forum Discussion

2 Replies

  • NikolinoDE's avatar
    NikolinoDE
    Platinum 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):

    1. Select all those max-point cells (e.g., D1:R1).
    2. Go to Formulas > Define Name.
    3. 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):

    1. Type 300 into any empty cell.
    2. 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_tarler's avatar
    m_tarler
    Silver 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?