+ Reply to Thread
Results 1 to 5 of 5

How to exclude 0 from Product() ??

  1. #1
    Registered User
    Join Date
    07-12-2006
    Posts
    54

    How to exclude 0 from Product() ??

    A1=10
    B1=0
    C1=8
    D1=0
    E1=5

    =Product(A1:E1)
    = 400 ..and NOT 0

    How can I exclude any 0's from the series and multiply with what ever cell value remains? Any one or combination of cells may be 0's at anytime. Need the product of all remaining values. Only when all the cells are 0 will the result be 0, otherwise a product result. Thx
    Last edited by tangomj; 09-02-2012 at 12:28 AM.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: How to exclude 0 from Product() ??

    hello try this one
    if it's just ok for you--- array formula hit ctrl+shift+enter not just enter.

    =PRODUCT(IF(A1:E1<>0,A1:E1))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    07-12-2006
    Posts
    54

    Re: How to exclude 0 from Product() ??

    Yup, that worked! So simple. Thx

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: How to exclude 0 from Product() ??

    Your welcome.

    regards,
    vladimir

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to exclude 0 from Product() ??

    @ tangomj

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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