+ Reply to Thread
Results 1 to 6 of 6

SUMIFS with AND conditions; between two dates

  1. #1
    Registered User
    Join Date
    03-31-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    84

    SUMIFS with AND conditions; between two dates

    I would like to sum values in one column if a date falls within two other dates in separate columns. Here's what i have (but it's not working):

    =SUMIFS('SF Data'!V:V,'SF Data'!K:K,">="&Sheet1!A2,'SF Data'!L:L,"<="&Sheet1!A2)

    Column V are the values i want to sum
    SF Data K:K is the column with a start date
    SF Data L:L is the column with an end date
    Sheet1 A2 is the date value

    I would like to Sumif A2 falls within the date range (ie start and end date- inclusive)

    Any help appreciated

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: SUMIFS with AND conditions; between two dates

    I think you have your > and < symbols reversed.

  3. #3
    Registered User
    Join Date
    03-31-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: SUMIFS with AND conditions; between two dates

    Ahem. you may well be onto something. Is there a way to delete a thread to save blushes?!?

    (Thank you)

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SUMIFS with AND conditions; between two dates

    Quote Originally Posted by dchubbock View Post
    =SUMIFS('SF Data'!V:V,'SF Data'!K:K,">="&Sheet1!A2,'SF Data'!L:L,"<="&Sheet1!A2)
    You're using the same criteria for both conditions.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: SUMIFS with AND conditions; between two dates

    No, it's too late. It's out there for the world to see.

    Don't worry though, it happens to the best of us.
    Sometimes it just takes another set of eyes.

  6. #6
    Registered User
    Join Date
    03-31-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: SUMIFS with AND conditions; between two dates

    Thanks i feel a little better now

+ 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. Sumifs multiple conditions
    By ksmith21 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-16-2015, 06:12 AM
  2. [SOLVED] SUMIFS with multiple conditions Formula
    By rz6657 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2015, 03:13 PM
  3. sumifs for 2 separate conditions? (see the attachement)
    By 198four in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2014, 02:40 PM
  4. [SOLVED] SUMIFS with OR conditions
    By morbdetro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 01:01 PM
  5. SumIfs in VBA with two conditions for one range
    By Ivkosky in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2013, 10:04 AM
  6. sumifs multiple conditions stuck
    By kieranbop in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-31-2011, 07:13 AM
  7. Replies: 14
    Last Post: 01-11-2010, 01:27 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