+ Reply to Thread
Results 1 to 7 of 7

Aleternative to SUMPRODUCT formula

  1. #1
    Registered User
    Join Date
    01-29-2015
    Location
    london
    MS-Off Ver
    vista
    Posts
    6

    Aleternative to SUMPRODUCT formula

    Hi,

    I'm starting this thread again with a spreadsheet extract so hopefully this will help. I need a less cumbersome alternative to a sumproduct formula as I need to build in a department layer as well. The formula is just not easy to decipher etc. Can anyone help?

    Thanks

    Matt
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Aleternative to SUMPRODUCT formula

    Is that data copied from a pivot table?

    If it is, then why not simply reference the original pivot table, using =GETPIVOTDATA ?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    01-29-2015
    Location
    london
    MS-Off Ver
    vista
    Posts
    6

    Re: Aleternative to SUMPRODUCT formula

    Wouldn't it just be an even less user friendly formula then? Plus there are hardcoded versions around so some are pasted values of pivot tables if you know what I mean. Isn't there a CHOOSE function or similiar that would be easier to decipher perhaps? SUMPRODUCT just looks cumbersome and too long, probably too memory intensive as well.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Aleternative to SUMPRODUCT formula

    Quote Originally Posted by matt45 View Post
    Wouldn't it just be an even less user friendly formula then?
    Not at all. GETPIVOTDATA uses field names and parameter values, it's a simple formula to read and write.

    It's really poor practice to take hard copies of pivot tables!! Keep your data organised in one place, and write your reports to reference that data... so if your data changes, you don't need to change the reports, and vice versa...

    Maybe if you post a more complete workbook, which contains your source data structure, and your required outcome, we could look at the best solution...

  5. #5
    Registered User
    Join Date
    01-29-2015
    Location
    london
    MS-Off Ver
    vista
    Posts
    6

    Unhappy Re: Aleternative to SUMPRODUCT formula

    Hard copies are taken due to disciplines not really in place yet re closes etc (another story). But aside from the pivot table option, are there any other options? I think I just hate SUMPRODUCT. Sorry, I created a cut down version of the problem, reluctant to upload a complete spreadsheet/workbook for obvious reasons

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Aleternative to SUMPRODUCT formula

    You COULD use something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See attachment for worked example.

    But that's not really much simpler than what you already have.

    I really don't understand why you wouldn't look at the source data, rather than trying to find complex formulas to interrogate hard-coded crosstab data, though...
    Attached Files Attached Files

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Aleternative to SUMPRODUCT formula

    Quote Originally Posted by matt45 View Post
    I'm starting this thread again
    Please do not do that. It violates our rules against duplicate threads. You should have updated your original thread instead. I am going to close that thread to prevent any further confusion.



    Please take the time to review our rules. There aren't many, and they are all important.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  2. [SOLVED] Sumif Formula or Sumproduct Formula? Three Criteria.
    By oHUTCHYo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-28-2013, 10:50 AM
  3. Should sumproduct formula be used?
    By alltheway in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2011, 07:58 PM
  4. IF or SUMPRODUCT Formula ?
    By rushdenx1 in forum Excel General
    Replies: 2
    Last Post: 09-28-2010, 08:58 AM
  5. SumProduct Formula
    By Dhoang25 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-10-2010, 02:37 PM
  6. sumproduct formula
    By Todd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2006, 09:45 PM
  7. Sumproduct Formula
    By Alan in forum Excel Formulas & Functions
    Replies: 33
    Last Post: 09-06-2005, 04:05 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