+ Reply to Thread
Results 1 to 3 of 3

Combine SUMIFS and INDEX MATCH - or an alternative that achieves the same...

  1. #1
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Combine SUMIFS and INDEX MATCH - or an alternative that achieves the same...

    Hi All,

    I'm trying to improve a variance report that I created a while ago. Please refer to the attached for the following example:

    - Cells B2:D20 represent the my bank activity exported from my online account, into Excel.
    - Column E is a column I use to denote the actual nature of the expense (you will see that the bank's description in Column B is not fit for my book-keeping purposes).
    - Cells J1:R9 represent the variance report I set up which is used to inform my Head Office of income and expenditure activity on a weekly basis
    - In the table J1:R9 there are columns headed 'Budget' - these figures are generated from a cashflow forecast sheet in my real document but for this example, just accept these figures as they are

    Objective:
    I want the 'Actual' columns in the variance report to generate the sum total of each type of expense for that week, based on the following conditions:
    - The expense type listed in column J matches exactly the manual description type listed in column E
    - The date the expense was incurred (as per the bank report) is greater than or equal to the week commencing date for that week and is less than the week commencing date of the next week

    I thought of using some sort of combination of INDEX MATCH and SUMIFS formula where INDEX MATCH would be used to determine the expense description and the SUMIFS would be used to determine the dates criteria, but I have no idea on how to go about combining the two.

    Any help appreciated. Thanks in advance.
    Attached Files Attached Files

  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,954

    Re: Combine SUMIFS and INDEX MATCH - or an alternative that achieves the same...

    TRY

    in L3

    =SUMIFS($D$3:$D$20,$E$3:$E$20,[@[Exp. Type]],$B$3:$B$20,">="&$K$2,$B$3:$B$20,"<=" &$K$2+6)

    in P3

    =SUMIFS($D$3:$D$20,$E$3:$E$20,[@[Exp. Type]],$B$3:$B$20,">="&$O$2,$B$3:$B$20,"<=" &$O$2+6)

    OR

    =SUMIFS($D:$D,$E:$E,[@[Exp. Type]],$B:$B,">="&$K$2,$B:$B,"<=" &$K$2+6)
    Last edited by JohnTopley; 07-17-2016 at 08:51 AM.

  3. #3
    Banned User!
    Join Date
    09-26-2015
    Location
    Manchester
    MS-Off Ver
    2013
    Posts
    218

    Re: Combine SUMIFS and INDEX MATCH - or an alternative that achieves the same...

    Thanks John...again!

+ 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] Index and Match Formula (or alternative?)
    By dvs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-22-2015, 05:57 PM
  2. VBA Alternative to array index match
    By Helgard25 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-14-2015, 09:01 AM
  3. [SOLVED] Help with INDEX, MATCH and MAX formula - or alternative solution
    By glynnseal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2014, 08:50 AM
  4. Fast Index/Match Alternative in VBA
    By RS15 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2014, 02:41 PM
  5. UDF Lookup function as an alternative to array functions & match/index
    By Andrew_Harris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2012, 09:34 PM
  6. [SOLVED] Index & Match Alternative?
    By jeversf in forum Excel General
    Replies: 2
    Last Post: 04-02-2012, 01:58 AM
  7. Replies: 3
    Last Post: 06-14-2011, 08:16 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