+ Reply to Thread
Results 1 to 2 of 2

SUM IF between two dates and another criterion

  1. #1
    Registered User
    Join Date
    05-23-2018
    Location
    Wales
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Question SUM IF between two dates and another criterion

    Hey,

    So I'm trying to pull combined sales data of an item between certain dates. The sheet I'm pulling from has the data by day so I'd need it combined for the specific dates queried using the item number.

    Currently I was trying =SUMIFS(MIS!G:G,MIS!D:D,">="&DATE('PV Database'!O:O),MIS!D:D"<="&DATE('PV Database'!P:P),[[Item Number]]=MIS!A:A) but it doesn't seem to work...

    The "at" from [item number] was removed due to the site thinking it was a link.

    "MIS G" contains sales by day
    "MIS D" contains the date by day
    "PV Database O" contains start date
    "PV Database P" contains end date
    "MIS A" contains the item number

    Apologies I can't share the document! Hopefully what I've noted here makes sense to someone...

    Thanks

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: SUM IF between two dates and another criterion

    Why are trying to use column of dates from different sheets as End date and start date? it should be just one cell for each, something like:

    =SUMIFS(MIS!$G:$G,MIS!$D:$D,">="&'PV Database'!$O$2,MIS!$D:$D,"<="&'PV Database'!$P$2,MIS!$A:$A,'PV Database'!A2)

    If you have multiple start and end dats for each item, then unlock the row number of the dates in above formula and drag it down.

+ 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. Product If [Criterion], Sum If [Criterion]
    By STBTC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2016, 12:50 PM
  2. Find value based on item number (first criterion) and date (second criterion)
    By ivan.stajin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2014, 10:47 AM
  3. [SOLVED] Max If - Two Criterion
    By Ankedo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-26-2014, 09:14 PM
  4. [SOLVED] SUMPRODUCT with an OR criterion
    By andrewc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-12-2014, 09:15 PM
  5. list more than one criterion
    By yadigartbaykal in forum Excel General
    Replies: 3
    Last Post: 10-21-2011, 06:38 PM
  6. calculation of the dates set by the criterion
    By provaid82 in forum Excel General
    Replies: 0
    Last Post: 07-20-2011, 06:49 AM
  7. VBA.array to sum values based on multiple criterion and dates
    By Varmark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2011, 09:33 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