+ Reply to Thread
Results 1 to 5 of 5

sum formula to exclude zero values

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    peterborough
    MS-Off Ver
    excel 2010
    Posts
    13

    sum formula to exclude zero values

    hi all,
    im using the below formula to find the two lowest scores out of three but im trying to make it exclude any zero values, appreciate any help

    =IFERROR(SMALL(D51:F51,{2})+SMALL(D51:F51,{1}),"")

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: sum formula to exclude zero values

    Try this ARRAY formula.

    =SMALL(IF(D51:F51<>0,D51:F51),1)+SMALL(IF(D51:F51<>0,D51:F51);2)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    02-28-2013
    Location
    peterborough
    MS-Off Ver
    excel 2010
    Posts
    13

    Re: sum formula to exclude zero values

    many thanks that seems to be working, didnt want to know at first but sussed out last part you put semi colon instead of comma,

    many thanks for your help

    Nigel

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: sum formula to exclude zero values

    Quote Originally Posted by nmginn View Post
    many thanks that seems to be working, didnt want to know at first but sussed out last part you put semi colon instead of comma,

    many thanks for your help

    Nigel
    You are welcome

    It's because in Greece we use semi colons and not comma as separators.

    I always have to change the semi colons to comma for showing my formulas, but sometimes(like now)i don't see ALL semi colons in my formulas...

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: sum formula to exclude zero values

    If there is only 1 number greater than 0 then what result do you expect?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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