+ Reply to Thread
Results 1 to 15 of 15

SUMPRODUCT bc of many conditions?

  1. #1
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    SUMPRODUCT bc of many conditions?

    Hi all,
    Thank you for your time and love for Excel.
    My Eng isn't very well, so, is it POSSIBLE Sumproduct on UNEVEN cell ranges

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: SUMPRODUCT bc of many conditions?

    Do you mean like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: SUMPRODUCT bc of many conditions?

    Please provide a sample sheet WITH expected answers, calculated manually.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    Please Login or Register  to view this content.
    C2:C10 sum range rest are condition, F1:F5 reason for not use SUMIF or SUMIFS, for some strange reason SUMIFS stop working after two conditions, maybe bug in EXcel 2013?
    Thanks in advance God Bless us ALL


    orig formula:
    Please Login or Register  to view this content.
    Formula is sitting in A2, here version w/o MATCH, is not working.
    G2:G9029 sum range.
    Problem is probably in that B1:B9 part
    SUMIFS stops working after two conditions(B1, B2,..)
    SUMIFS+SUMIFS+... is too long and too frustrating
    Last edited by B.W.B.; 02-16-2024 at 09:57 AM. Reason: add some formula

  5. #5
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    Please Login or Register  to view this content.
    Formula is in A2(Sheet3) and is not working, #N/A
    Last edited by B.W.B.; 02-16-2024 at 10:11 AM. Reason: Lapsus calami

  6. #6
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    SUMIFS not working, one Workbook, three sheets

    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: SUMPRODUCT bc of many conditions?

    I have already given you the solution.

  8. #8
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    Wrap conditions in ISODD ??

  9. #9
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: SUMPRODUCT bc of many conditions?

    Not wrap.
    ISODD(ROW()) multiplied by the rest of your conditions.

    In the ROW function you just put a column from your data, doesn't matter which one.

  10. #10
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    Which range? Sum range?
    Sorry did not saw your answer, WILL try and let you know
    Last edited by B.W.B.; 02-16-2024 at 10:50 AM. Reason: Lapsus oculi

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: SUMPRODUCT bc of many conditions?

    Still no sample file...

  12. #12
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    Here it is , sorry

    In C2 formula, middle sheet
    Attached Files Attached Files

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: SUMPRODUCT bc of many conditions?

    I changed a few values... it was hard to find the matches (5 in 10,000 rows... not a great sample file, which should be 10-20 rows and have some values that ACTUALLY work).


    =SUMPRODUCT((--ISNUMBER(MATCH(eksport!$E$2:$E$10000,Sheet1!$B$1:$B$9,0)))*(eksport!$C$2:$C$10000=D11)*eksport!$G$2:$G$10000)
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    323

    Re: SUMPRODUCT bc of many conditions?

    AS ALWAYS MR.GLENN, HATS DOWN, KUDOS, THANK YOU FROM MY HEART! Extraordinary!
    Why this "twist" MATCH(eksport!$E$2:$E$10000,Sheet1!$B$1:$B$9, not other way around?

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: SUMPRODUCT bc of many conditions?

    No problem. This:

    MATCH(eksport!$E$2:$E$10000,Sheet1!$B$1:$B$9

    returns 10,000 values, the other way round only 9... and SUMPRODUCT falls over 'cos the ranges don't match.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] SUMPRODUCT with conditions
    By cableghost in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2022, 04:31 PM
  2. Sumproduct with Conditions
    By oyeoro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2019, 09:47 PM
  3. Sumproduct with certain conditions
    By geliedee in forum Excel General
    Replies: 3
    Last Post: 10-26-2015, 05:18 AM
  4. [SOLVED] Using sumproduct with conditions
    By maxfiesta in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-09-2013, 04:50 PM
  5. Sumproduct 4 conditions
    By learnerabc in forum Excel General
    Replies: 2
    Last Post: 11-15-2010, 03:42 AM
  6. SUMPRODUCT with TWO Conditions
    By Akarupert in forum Excel General
    Replies: 2
    Last Post: 05-24-2010, 04:10 PM
  7. sumproduct three conditions
    By Scire in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2006, 01:25 PM

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