+ Reply to Thread
Results 1 to 4 of 4

SUMIFS - Multiple criteria and dates

  1. #1
    Registered User
    Join Date
    08-18-2020
    Location
    Glasgow
    MS-Off Ver
    Office 365
    Posts
    2

    SUMIFS - Multiple criteria and dates

    I have a SUMIFS formula that already uses a few different criteria. I also wanted to add a criteria that it must = the date in one of the columns in the table range must match the date in one specific cell on another sheet.

    I used the following formula, but i only get a blank result:

    =SUMIFS('Sheet2'!$I:$I,'Sheet2'!$U:$U,">=30",'Sheet2'!$C:$C,Report!$A5,'Sheet2'!$X:$X,Report!A2)


    Sheet2 is the table range
    Sheet2'!$U:$U is the SUM range
    The result is going into a cell in worksheet named Report!

    The date criteria i am attempting is the last part of the above formula. For the date criteria, there is a date column in 'Sheet2'!$X:$X and I only want the SUM of 'Sheet2'!$I:$I if the date in 'Sheet2'!$X:$X matches the date in cell Report!A2.

    Any help much appreciated!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,912

    Re: SUMIFS - Multiple criteria and dates

    If the formula cell is on the Report sheet, you don't need (or generally want) the Report references in the formula:

    =SUMIFS('Sheet2'!$I:$I,'Sheet2'!$U:$U,">=30",'Sheet2'!$C:$C,$A5,'Sheet2'!$X:$X,A2)

    but otherwise the formula seems to do what you describe. If you get 0 as a result, nothing matches the criteria so check them carefully (eg make sure the date in A2 doesn't have a hidden time part)
    Rory

  3. #3
    Registered User
    Join Date
    08-18-2020
    Location
    Glasgow
    MS-Off Ver
    Office 365
    Posts
    2

    Re: SUMIFS - Multiple criteria and dates

    Rorya, perfect that works now. As you suggested, it was the formatting of the dates.

    Thank you!

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,912

    Re: SUMIFS - Multiple criteria and dates

    Glad to help. For future reference, I suggest you read the forum rules (here and elsewhere) on cross-posting, and make sure to follow them.

+ 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: 0
    Last Post: 08-22-2017, 03:49 PM
  2. Sumifs between two dates - multiple criteria
    By mmaya4 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2016, 07:50 PM
  3. SUMIFS using consectuvie dates as a criteria
    By Nadine67 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-10-2016, 05:59 PM
  4. Replies: 5
    Last Post: 03-30-2016, 06:01 AM
  5. Sumifs (criteria between two dates)
    By Arcanus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-13-2013, 02:16 PM
  6. Sumifs with dates as criteria
    By MARKSTRO in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-19-2013, 05:58 PM
  7. [SOLVED] SUMIFS, problem with Dates as Criteria
    By GMANFG in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2009, 01:15 PM

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