+ Reply to Thread
Results 1 to 9 of 9

Formu;a Reading Zero Possible to read blank

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Portland,OR
    MS-Off Ver
    Excel 2010
    Posts
    49

    Formu;a Reading Zero Possible to read blank

    Hey guys,

    Is it possible for a sum formula to read nothing when the sum is zero. So if the sum is zero instead of it reading 0 I just want nothing there at all?

    Thanks,

    CW

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Formu;a Reading Zero Possible to read blank

    You can do this:

    =IF(SUM(range)=0,"",SUM(range))

    Hope this helps.

    Pete

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formu;a Reading Zero Possible to read blank

    one way
    =IF(SUM(A1:A10),SUM(A1:A10),"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formu;a Reading Zero Possible to read blank

    Deleted post
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  5. #5
    Registered User
    Join Date
    12-27-2012
    Location
    Portland,OR
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Formu;a Reading Zero Possible to read blank

    I'm sorry I was mistaken it wasnt a sum formula i'm working with well on one worksheet it is on the other I need something ike this =IF(SUM(C9:C12=0),"",(((C9*C10)*2)/144)*C11*C12) but i only get a #Value Any suggestions.

    Thanks,

    CW

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Formu;a Reading Zero Possible to read blank

    It depends what values you have in those cell C9 to C12 - perhaps one or more of them contain a text value that looks like a number (or ""). You could do this to avoid the error:

    =IF(SUM(C9:C12=0),"",IFERROR(C9*C10*2/144*C11*C12,""))

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    12-27-2012
    Location
    Portland,OR
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Formu;a Reading Zero Possible to read blank

    Well It is just numbers panel sizes 18 x 24 x 2 x 144 x 2 x 1.3. See i'm calculating mil/ft of resist processed which is a film that goes a a circuit board i've attached a file. I want it to calculate the calculation I had if there are numbers there if there are not number I want it to be blank. Third worksheet in file is what i'm referencing.

    Much Thanks,

    CW
    Attached Files Attached Files

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formu;a Reading Zero Possible to read blank

    =IF(SUM(C9:C12=0),"",IFERROR(C9*C10*2/144*C11*C12,"")) should be
    =IF(SUM(C9:C12)=0,"",IFERROR(C9*C10*2/144*C11*C12,""))

  9. #9
    Registered User
    Join Date
    12-27-2012
    Location
    Portland,OR
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Formu;a Reading Zero Possible to read blank

    Perfect Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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