+ Reply to Thread
Results 1 to 4 of 4

Trying to sum an array, via index and match

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Trying to sum an array, via index and match

    Training Stats, Rework, upload.xlsm

    On the Time Sheet sheet I need a formula that will sum based on changing variables. Right now I am using the aggregate formula to sum, as later I will utilize more of it's functions. So if I select Total Volume from the drop down menu (formatted grey) in A7, and then in C1 select 2014, C2 select Mesocycle 1, C3 select Wk 3 and C4 select Day 1 the formula will sum the Total Volume values that are in 2014 Mesocycle 1Wk 3 day 1.

    My data base contains helper columns that are,
    Year/Macrocycle & Mesocycle & Week & Day
    Year/Macrocycle & Mesocycle & Week
    Year/Macrocycle & Mesocycle
    and just Year/Macrocycle

    So I wanted to look at sum of Total Volume in 2014, Mesocycle 1, I could just leave the Week and Day selection blank. How would I set that up?

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Trying to sum an array, via index and match

    Does the attached SUMPRODUCT formula help?
    Attached Files Attached Files
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Trying to sum an array, via index and match

    I will be offline for the next couple of days, I will work with the formula and get back to you on it. Thank you.

  4. #4
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Trying to sum an array, via index and match

    The sumproduct function seemed to work at first until I started changing around the time values in C1:C4, then it appeared to stop working. I did come up with this though,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Which was the column designator for the index function. It works to a degree, but falls apart with an NA error if only a year is displayed in C1:C4. I don't understand why.

    So far I have come up with the following formulas,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This is finding the row at which my time criteria starts.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ^ This is returning the value from C1:C4, putting it into the appropriate column, searching down, then returning the value from NL, it is failing to sum the array but is much closer

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ^ This is summing an entire Ex_Data_LBS row.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ^ This is summing an entire column.

    So far I haven't been able to sum a designated array. I have also stopped trying to sum with the aggregate function as right now I am simply trying to get a formula to work as I want, once I get that working in the aggregate function shouldn't be an issue.

    Also, entering the above formulas with Ctrl Shift Enter doesn't change the displayed result.

+ 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: 6
    Last Post: 04-30-2014, 02:42 AM
  2. [SOLVED] Index Match Array
    By namluke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-02-2014, 09:55 AM
  3. Array, Index, Match?
    By DHFE in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2014, 11:58 AM
  4. Index Match array equation with sub-array calculation
    By glebbo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 03:04 AM
  5. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 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