+ Reply to Thread
Results 1 to 7 of 7

SUMPRODUCT different range sizes

  1. #1
    Registered User
    Join Date
    10-04-2019
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    2019
    Posts
    5

    SUMPRODUCT different range sizes

    Please Login or Register  to view this content.
    My sheet consists of Date, UserID, Reported issue#1, Reported issue#2, Reported issue #3

    issues 1,2 & 3 columns are the same, and have the same drop down list to choose issue name. As 1 user could have 3 issues at the same day.

    is there a way to know the total number of issues received from a user id in a certain date as the above formula gives me error?

  2. #2
    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 different range sizes

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please DO NOT attach a picture of an Excel sheet (I do not have the patience to re-type any/all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. For example, don't show text in a column if it's really a number. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually). To be honest, I am not interested in seeing a non-working formula... or a pile of blank cells. However, I am very interested in seeing your EXPECTED results in their EXPECTED location.

    4. Try not to use merged cells. They cause lots of problems and are DEFINITELY best avoided!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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

  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 different range sizes

    Is this it??

    =SUMPRODUCT((J2:L9<>"")*(D2:D9=C14)*(B2:B9=C13))

    PS Never use whole column references with SUMPRODUCT. It'll take an age processing 1,000,000 rows.... three times!!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-04-2019
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    2019
    Posts
    5

    Re: SUMPRODUCT different range sizes

    Hi Glenn, Indeed i tied to use the attach icon but i couldnt now i attached the file, thank you for helping
    Attached Files Attached Files

  5. #5
    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 different range sizes

    =SUMPRODUCT((master!$A$2:$A$200=analyze!$B$2)*(master!$B$2:$B$200=analyze!A3)*(master!$D$2:$F$200<>""))

    but, as previously stated... no whole column references, unless you DO have 1,000,000 rows of data
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-04-2019
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    2019
    Posts
    5

    Re: SUMPRODUCT different range sizes

    Thank you so much, it works like charm! im assumin that this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    means to check for criteria in all range incase if it was more than 1 column?

  7. #7
    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 different range sizes

    No... it means check all 3 columns for values that are not equal to null/blank.


    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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 Arrays of Different Sizes
    By jglassmanba in forum Excel General
    Replies: 11
    Last Post: 06-09-2021, 11:31 PM
  2. sumproduct with different array sizes
    By sccheng888 in forum Excel General
    Replies: 10
    Last Post: 09-19-2015, 05:52 PM
  3. Dynamic Range Sizes in Formulas
    By Speshul in forum Tips and Tutorials
    Replies: 5
    Last Post: 09-15-2014, 09:17 AM
  4. Dynamic Range Sizes, including blanks
    By Speshul in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-12-2014, 10:52 AM
  5. Larger sizes against smaller sizes
    By nathanocs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-13-2013, 04:41 PM
  6. [SOLVED] SUMPRODUCT - between two worksheets and two different array sizes
    By Lacaycer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2012, 10:13 AM
  7. [SOLVED] Sumproduct - 2 criteria with different array sizes
    By Lacaycer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2012, 02:24 PM

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