+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Only display a zero if there is one actually entered ??

  1. #1
    Registered User
    Join Date
    10-03-2011
    Location
    West of Laramie
    MS-Off Ver
    Excel 2007
    Posts
    12

    Only display a zero if there is one actually entered ??

    Howdy all...my first post here, but I have searched out other answers from this form and would like to say thanks for all the help so far.

    I'm using this formula in P11 to keep a cell blank so that the spreadsheet can printed and used as a form: =IF(L11+M11+N11+O11>0,L11+M11+N11+O11,"")

    The form is taken out into some remote areas to gather some data, then the user comes back to the office and fills out the electronic copy. The problem is that if the data entered in L11, M11, N11, or O11 is zero then P11 does not display a zero, it remains blank due to the formula but I need it to show a zero in this case.
    I have tried using: =IF(ISNUMBER(K11),K11+L11+M11+N11,"") but that always displays a zero.

    Does anyone know a way to only display a zero in P11 if a zero is actually entered into on of the L11, M11, N11, or O11 cells?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Only display a zero if there is one actually entered ??

    Try using COUNT function to test (COUNT counts only numbers....including zero)

    =IF(COUNT(L11:O11)>0,SUM(L11:O11),"")
    Audere est facere

  3. #3
    Registered User
    Join Date
    10-03-2011
    Location
    West of Laramie
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Only display a zero if there is one actually entered ??

    THANKS...that works perfectly!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1