+ Reply to Thread
Results 1 to 12 of 12

Is there any Alternate formula for Sumproduct function?

  1. #1
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Is there any Alternate formula for Sumproduct function?

    Hello Experts,

    Please help me in calculating the count of multiple criteria filtered details into count.i used sumproduct function to display the count of multiple criteria filtered data and showing the correct counts as well.However it is taking few seconds to evaluate and produce the output for the 3000+ line item of data.

    Instead is there an formula that can produce the same output result what sumproduct does.Please find the exhibit which am producing output using sumproduct function.

    Sumproduct counts.JPG
    Last edited by pramoth.u; 05-26-2017 at 04:46 AM. Reason: Attaching sample file

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,342

    Re: Is there any Alternate formula for Sumproduct function?

    You can use COUNTIFS. Or, maybe try using a Pivot Table.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Re: Is there any Alternate formula for Sumproduct function?

    Hello TMS,

    Thanks for your solution provided,However "countifs" function will not supporting for the users who uses excel 2003 and below version to view counts.

    Please provide if there is any alternative solution for this.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,342

    Re: Is there any Alternate formula for Sumproduct function?

    Thanks for the rep.


    Your profile says you use Excel 2013. You didn't say anything about Excel 2003. Who knew?

    Use a Pivot Table: https://www.techonthenet.com/excel/pivottbls/create.php

  5. #5
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Re: Is there any Alternate formula for Sumproduct function?

    Hello TMS,
    Thanks for your value time.
    My version of excel is 2013 only and countifs will verymuch supported and knew how to use it as well.
    However the reports which i shares to few user are still using the lower version of the package.
    Has i quoted before the line item will be more than 3000+ hence it's not viable to use pivot table and there might be a chance of sending the summary without refreshing it.
    I am looking for an automated count display using formula rather than pivot.

    Please help here

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Is there any Alternate formula for Sumproduct function?

    You could use a SUM(IF(... array formula, but I doubt it will be any quicker than the SUMPRODUCT formula you are already using. Here's the direct equivalent to what you show in your picture:

    =SUM(IF(($B$1:$B$11=$F3)*($C$1:$C$11=G$2),1))

    Put this in G3, use Ctrl-Shift-Enter to commit it, then copy across and down as required.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Re: Is there any Alternate formula for Sumproduct function?

    Hello Pete,
    Really appreciate your valuable time spent on the query i raised
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It's absolutely producing the same output what it was showing for sumproduct function.Let me try it in the 3000+ data line summary and let you know.
    Last edited by pramoth.u; 05-26-2017 at 06:35 AM. Reason: to add array symbol

  8. #8
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Re: Is there any Alternate formula for Sumproduct function?

    Hello Pete,

    Still the processing time for calculating the entries to show the counts takes time after using sum array formula as like sumproduct function

    Please help to get some solution for the same.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,342

    Re: Is there any Alternate formula for Sumproduct function?

    Suggest you post a sample workbook with some typical data. Wouldn't have thought 3000 rows would be an issue. Suspect there may be something else causing the delay.

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Is there any Alternate formula for Sumproduct function?

    Edit Forget this one. I overlooked the 2003 requirement. It won't take whole rows.

    Color me skeptical. My timer indicates this is faster than SUMPRODUCT. I don't know what it will do with larger data.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 05-26-2017 at 11:12 AM. Reason: typo and oversight
    Dave

  11. #11
    Registered User
    Join Date
    05-02-2017
    Location
    Cochin
    MS-Off Ver
    2013
    Posts
    35

    Re: Is there any Alternate formula for Sumproduct function?

    Hello FR,
    Thanks for sharing the alternate formula to meet my requirement

  12. #12
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Is there any Alternate formula for Sumproduct function?

    Quote Originally Posted by pramoth.u View Post
    Hello TMS,
    Thanks for your value time.
    My version of excel is 2013 only and countifs will verymuch supported and knew how to use it as well.
    However the reports which i shares to few user are still using the lower version of the package.
    Has i quoted before the line item will be more than 3000+ hence it's not viable to use pivot table and there might be a chance of sending the summary without refreshing it.
    I am looking for an automated count display using formula rather than pivot.

    Please help here
    Why?

    A Pivot table doesn't mind how many rows it analyses and where the underlying data range is large it will be much faster and it avoids the slowness that you'll inevitably get with functions, particularly array formulae.

    The PT can be made to refresh automatically hence avoiding it being out of date. You should always apply a dynamic range name to your data so that the range name automatically expands and contracts as data is added or removed, and the PT should use the dynamic range name as the Source Range.

    Then in the PT sheet Activate event in VBA just add a single line of code which refreshes the PT cache whenever the PT sheet is selected.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. is there any alternate of sumif(sumproduct?
    By Imran Magsi in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 01-23-2017, 01:32 AM
  2. [SOLVED] Alternate rows sumproduct
    By spidolster in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-03-2016, 07:39 PM
  3. vba: Alternate for Vlookup function
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 12:47 PM
  4. Using Sumproduct function ( Time consuming - any alternate )
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2012, 04:14 PM
  5. Alternate function to use
    By sheryar in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-07-2009, 10:17 AM
  6. using the mod function to alternate rows
    By withy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-24-2009, 05:31 AM
  7. SUM function for alternate columns/rows
    By all4excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2007, 07:54 AM

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