+ Reply to Thread
Results 1 to 14 of 14

convert Sumifs to sumproduct or similar

Hybrid View

Stephen Reeves convert Sumifs to sumproduct... 10-13-2021, 06:27 AM
XLent Re: convert Sumifs to... 10-13-2021, 06:56 AM
JohnTopley Re: convert Sumifs to... 10-13-2021, 07:12 AM
Stephen Reeves Re: convert Sumifs to... 10-13-2021, 07:49 AM
Stephen Reeves Re: convert Sumifs to... 10-13-2021, 07:36 AM
XLent Re: convert Sumifs to... 10-13-2021, 08:32 AM
Stephen Reeves Re: convert Sumifs to... 10-13-2021, 10:55 AM
JohnTopley Re: convert Sumifs to... 10-13-2021, 11:18 AM
XLent Re: convert Sumifs to... 10-13-2021, 11:52 AM
JohnTopley Re: convert Sumifs to... 10-13-2021, 12:49 PM
Stephen Reeves Re: convert Sumifs to... 10-13-2021, 07:55 AM
Stephen Reeves Re: convert Sumifs to... 10-21-2021, 06:00 AM
AliGW Re: convert Sumifs to... 10-21-2021, 06:05 AM
Stephen Reeves Re: convert Sumifs to... 10-21-2021, 06:15 AM
  1. #1
    Registered User
    Join Date
    11-16-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    31

    Re: convert Sumifs to sumproduct or similar

    Thanks XLent

    This does exactly what I need it to do. The only problem I have now is if I convert my current spreadsheets to Tables it seems to break other things

    is it possible to do the same but without making tables?

    Thanks

    Stephen

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,705

    Re: convert Sumifs to sumproduct or similar

    This now works on filter using XLent approach: and I would not worry to much about INDIRECT and performance for a few sheets!

    Formula: copy to clipboard
    =SUMPRODUCT((INDIRECT("'Project Projections "&$D$4&"'!$E$8:$E$28"))*(INDIRECT("'Project Projections "&$D$4&"'!$B$8:$B$28")>='Stock Requirement'!G$8)*(INDIRECT("'Project Projections " & $D$4 &"'!$C$8:$C$28")<='Stock Requirement'!G$9)*(INDIRECT("'Project Projections " & $D$4 &"'!$D$8:$D$28")='Stock Requirement'!$C10)*(INDIRECT("'Project Projections " & $D$4 &"'!$D$8:$D$28")='Stock Requirement'!$C10)*(INDIRECT("'Project Projections " & $D$4 &"'!$F$8:$F$28")=1))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,706

    Re: convert Sumifs to sumproduct or similar

    ...is it possible to do the same but without making tables?
    Yes, I just used Tables for sake of expediency -- if you were to highlight both Tables in my earlier attachment and "Convert to Range" you will find the master table simply references the now defunct table ranges explicitly
    (obviously you can have non-volatile dynamic names if you need them to expand/contract as you add data, akin to Table behaviour)

    I fully accept @JohnTopley's note regards prudent use of Volatiles however, IME on this board (over the years) I've seen enough examples of people complaining of calc overhead to advocate non-volatile alternatives wherever feasible - esp. as we only have a limited idea of the calc tree dependencies etc; the use of the SUBTOTAL field on each source range is always worthwhile as it greatly simplifies the calculation, irrespective of volatility concerns.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,705

    Re: convert Sumifs to sumproduct or similar

    @XLent:I must remember your SUBTOTAL "trick"-something I was unaware of. Never too old to learn!

+ 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. Convert Sumproduct/SumIFS into VBA Dictionary
    By Edgie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2019, 06:36 PM
  2. How can i convert sumifs to sumproduct
    By svergili in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-18-2019, 10:21 AM
  3. Convert SUMPRODUCT to SUMIFS
    By teststrip in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-03-2017, 05:15 PM
  4. Using SUMIFS & LARGE (or similar?)
    By shalx in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-08-2014, 06:42 AM
  5. [SOLVED] Convert SUMIFS formula to SUMPRODUCT
    By timbury1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-08-2014, 01:18 PM
  6. SUMIFS with MONTH() or other similar functions
    By e_lad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2011, 11:25 AM
  7. Formula similar to SUMIFS
    By cmb80 in forum Excel General
    Replies: 10
    Last Post: 02-09-2011, 10:38 AM

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