How to show a blank cell value or a Zero 0 value

LeRoy Cofield 40 Reputation points
2026-08-11T00:02:21.2+00:00

=(ABS(SUMIFS($E2:$L2,$A2:$H2,"COFIELD")+0)-600)

User's image

Using the formula above how can I show a blank or a 0 value in column N2, instead of -600 until I enter data in columns H:L

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

Answer accepted by question author
Barry Schwarz 6,106 Reputation points
2026-08-11T01:06:33.15+00:00

Normally you would write something like IF(my_expression<0,0,my_expression) but having to repeat the expression is both inefficient and error prone. The LET function address this concern.

=LET(x,ABS(SUMIFS($E2:$L2,$A2:$H2,"COFIELD")+0),IF(x<0,0,x)

I don't know what the +0 at the end of ABS accomplishes.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. LeRoy Cofield 40 Reputation points
    2026-09-09T22:16:27.0233333+00:00

    User's image

    When using my formula in column N to capture the value different in E & L, plus or minus +/- a value of 600, when data have been entered on my spreadsheet. However; my goal is not having a -600 value shown, but to show a blank value in column N, when there is no data in columns A:E,H:L......+0)-600) in my formula is the only way to avoid the Microsoft formula error message. =IF(COUNTA($E2:L2)=0,0,ABS(SUMIFS($E2:$L2,$A2:$H2,"COFIELD")+0)-600)

    Thanks

    LeRoy

    Was this answer helpful?

    0 comments No comments

  2. Dana D 100 Reputation points
    2026-09-09T05:34:50.17+00:00

    until I enter data in columns H:L

    [edited]

    Was this answer helpful?

    0 comments No comments

  3. Ashish Mathur 102.4K Reputation points Volunteer Moderator
    2026-09-05T23:47:24.8366667+00:00

    Hi,

    Try this

    =if(count($E2:$L2)=0,"",(ABS(SUMIFS($E2:$L2,$A2:$H2,"COFIELD")+0)-600))

    Was this answer helpful?

    0 comments No comments

  4. LeRoy Cofield 40 Reputation points
    2026-08-11T00:30:40.39+00:00

    User's image

    Here is a complete format of my worksheet and I am trying to calculate the total with a +- formula to display empty cells in N2 until I enter data in cells B2:D2 and or I2:K2 which subtotal into the TOTAL columns with my formula

    =(ABS(SUMIFS($E2:$L2,$A2:$H2,"COFIELD")+0)-600)

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.