+ Reply to Thread
Results 1 to 2 of 2

STUCK** SUMIF INDEX MATCH - formula output sum of date range or month sum

  1. #1
    Registered User
    Join Date
    12-05-2015
    Location
    Perth, Australia
    MS-Off Ver
    MS Office 2013
    Posts
    1

    Post STUCK** SUMIF INDEX MATCH - formula output sum of date range or month sum

    Hi, Thank you first of for reading and addressing.

    I have a spreadsheet with daily oil production data from 2013-2015 (sheet name: "2013-2015 PAS Data"). In another sheet ("Yr-Month Avg.-***.") I am trying to use Index match to look up all the values associated with a particular heading and sum (or average) the values for that month.

    So for example. I have total produced oil recorded every day from 1/01/2013 to 25/11/2015 in column J (and dates in column A), I want to create a dynamic table that will sum the total daily oil production for each month of 2013, 2014 so on. I have numerous headings that require a sum of the data and other functions down the track

    my current formula looks like:

    =SUMIFS(INDEX('2013-15 PAS Data'!$A$7:$AS$1000,,MATCH('Yr-Month Avg.-***'!G5,'2013-15 PAS Data'!$A$7:$AS$7)),'2013-15 PAS Data'!A:A, ">="&D6,'2013-15 PAS Data'!A:A, "<="&E6)

    Where D6 and E6 are the start and end of reference month and G5 is the column heading "Total Produced Oil" which is the same column heading in the lookup sheet. I am getting an #VALUE! error at the moment

    I have attached a sample version to assist with the explanation

    I have quite a few headings that i need to find the monthly sum and monthly daily average from.
    If you know of a more efficient way, please let me know.
    NOTE: this is how my data is mostly exported and don't think it is easily transposable into a pivot table (??). but please let me know if there is a better way.
    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
    28,193

    Re: STUCK** SUMIF INDEX MATCH - formula output sum of date range or month sum

    For total oil production ..

    =SUMIFS('2013-15 PAS Data'!$AF8:$AF1000,'2013-15 PAS Data'!A8:A1000, ">="&$D6,'2013-15 PAS Data'!A8:A1000, "<="&$E6)

    You should be able to adjust this for other totals by changing the SUM range i.e AF in the above.

+ 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 match with sumif date range
    By namluke in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-09-2017, 09:45 AM
  2. [SOLVED] Index/Match Formula for Date Range
    By Brawnystaff in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2015, 02:08 AM
  3. [SOLVED] Index Match Formula doesn't recognize output from Right Formula as lookup value.
    By GoGators in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-10-2015, 11:33 AM
  4. [SOLVED] Index/match with date/month criteria
    By rviji.cbe in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-25-2015, 07:16 AM
  5. Sumif or Index/Match on Multiple Criteria including Dates to Month?
    By patrick1024 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2015, 11:00 PM
  6. [SOLVED] sumif formula for date and month with match criteria
    By alimamak in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-08-2012, 08:31 PM
  7. [SOLVED] Excel 2007 : Sumif index match month
    By eddyvilla in forum Excel General
    Replies: 1
    Last Post: 03-30-2012, 07:59 PM

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