+ Reply to Thread
Results 1 to 5 of 5

Sum column based on two criteria, one being a date

  1. #1
    Registered User
    Join Date
    04-20-2016
    Location
    London
    MS-Off Ver
    Mac
    Posts
    6

    Sum column based on two criteria, one being a date

    Hi,

    Im looking to do the following, I want a cell to total the items in column F it two criteria are met, the first is that the initials BY are in column C and the second is that the date in column A is any day in January. I would then like to copy this 12 times so that it populates for each month.

    So far I have:

    =sumifs(F1:F100,C1:C100,"BY",A1:100,???)

    I cannot work out how to add a formula that will allow the lookup to be any day in a given month.

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Sum column based on two criteria, one being a date

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

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

    Re: Sum column based on two criteria, one being a date

    Do you need to specify the Year as well ?

    Like if the column had both 1/15/2016 and 1/23/2015
    Should they BOTH be counted, or only the 2016 ?


    This would include the Year element (2016)
    =sumifs(F1:F100,C1:C100,"BY",A1:A100,">="&DATE(2016,1,1),A1:A100,"<="&DATE(2016,1,31))

  4. #4
    Registered User
    Join Date
    04-20-2016
    Location
    London
    MS-Off Ver
    Mac
    Posts
    6

    Re: Sum column based on two criteria, one being a date

    Many thanks Jonmo1, it worked a charm,

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

    Re: Sum column based on two criteria, one being a date

    You're welcome.

+ 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: 2
    Last Post: 10-10-2015, 02:22 AM
  2. [SOLVED] Index Match Based on One Date Criteria, Table Contains Beginning Date and End Date
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2014, 02:41 PM
  3. [SOLVED] Auto fill a column based on date and color a column if past that date
    By thegunder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2013, 03:06 PM
  4. [SOLVED] find missing date on every group date list based on range and criteria
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2013, 01:26 AM
  5. Color Date Cell in Column based on Criteria
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2013, 02:21 PM
  6. Code to hide columns based on date criteria and insert another column with formulas
    By RandiLee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2012, 11:04 AM
  7. Filling in column based on date compare criteria
    By Mare0929 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-19-2011, 10:22 AM

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