Share via

#NUM! make it zero

Anonymous
2025-01-04T14:00:23+00:00

I have a very simple spreadsheet where I pick out the top 5 scores in matrix. If there is no score (eg only 3 scores posted) then Score 4 comes up as #NUM!. Is there anyway to replace this with a Zero? Thanks

Microsoft 365 and Office | Excel | For home | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2025-01-04T15:28:52+00:00

Wrap your formula in IFERROR:

=IFERROR(your formula here, 0)

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-01-04T22:31:09+00:00

    Brilliant - just what I needed! Thanks.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-04T17:42:22+00:00

    This formula willy dynamically capture all numeric values in column A and always return up to the top 5 highest results. No need to drag formula or adjust as more/less values created. Also my solution will ignore blanks and text entries. If you want unique values change Sort to be (Unique(zCleanRange),1,-1)

    =LET(fullRange,A:A,zCleanRange,FILTER(fullRange,ISNUMBER(fullRange)),TAKE(SORT(zCleanRange,1,-1),5))

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-04T16:06:05+00:00

    If the scores are in column A, starting in A1, place In B1 and copy down:

    =IF(A1="";"";LARGE(A$1:A$20;COUNT(A$1:A1)))
    

    where 20 is the maximum number of scores that can be entered in column A; adjust this if necessary.

    Was this answer helpful?

    0 comments No comments