+ Reply to Thread
Results 1 to 6 of 6

Help with Product Formula "or"

Hybrid View

  1. #1
    Registered User
    Join Date
    05-22-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Help with Product Formula "or"

    Hi

    I am using a Sum product formula that checks two cells for validation:

    =SUMPRODUCT(--('Complete Pipe'!$N$9:$N$3250=E178),--('Complete Pipe'!$Y$9:$Y$3250=$F$161),'Complete Pipe'!$BH$9:$BH$3250)

    I need it to check a 3rd point as well. So I need it to validate that E178 matches, then check whether F161 OR J161 match, then return the results from BH

    Can someone help me get the formula right?

    I also need to do a 3 point check, where there isn't an "or", so it checks 3 pieces of information and returns the result if all 3 match at the same time

    Thanks in advance as always
    Last edited by Slongy; 07-27-2011 at 05:42 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Help with Product Formula "or"

    Try

    =SUMPRODUCT(--('Complete Pipe'!$N$9:$N$3250=E178),
    --(('Complete Pipe'!$Y$9:$Y$3250=$F$161)+('Complete Pipe'!$Y$9:$Y$3250=$J$161)),
    'Complete Pipe'!$BH$9:$BH$3250)

  3. #3
    Registered User
    Join Date
    05-22-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Help with Product Formula "or"

    Perfect Thanks very much

  4. #4
    Registered User
    Join Date
    05-22-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Help with Product Formula "or"

    Argh this is still not working

    I basically need a sum of column FL if 3 matches occur. This is the sum I'm using:

    =SUMPRODUCT(--('Complete Pipe'!$P$9:$P$3250=D126),--(('Complete Pipe'!$B$9:$B$3250=$D$30)--('Complete Pipe'!$Y$9:$Y$3250=$E$117)),'Complete Pipe'!$FL$9:$FL$3250)

    So it needs to only return a result if the value in Column P matches D126, Column B matches D30 and Column Y matches E117. Then sum all the values in Column FL when the above 3 criteria are met

    Any ideas?

    Thanks again in advance

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    Re: Help with Product Formula "or"

    You don't have the syntax quite right - try this version

    =SUMPRODUCT(--('Complete Pipe'!$P$9:$P$3250=D126),--('Complete Pipe'!$B$9:$B$3250=$D$30),--('Complete Pipe'!$Y$9:$Y$3250=$E$117),'Complete Pipe'!$FL$9:$FL$3250)

    You could also use SUMIFS in Excel 2007....
    Audere est facere

  6. #6
    Registered User
    Join Date
    05-22-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Help with Product Formula "or"

    Perfect, thanks so much. I have a slight variation I need for a different use, I may need some help again

    Much appreciated

+ 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