+ Reply to Thread
Results 1 to 4 of 4

Set Sumifs Criteria Range to equal year

  1. #1
    Registered User
    Join Date
    07-07-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    30

    Set Sumifs Criteria Range to equal year

    Hi,

    So I am trying to do a sumifs with several criteria, and I want one of those criteria to be when the date in Column C (Date Contains Day Month Year) is in 2014. So that it only summs the lines from 2014. Not sure how to specify my Criteria Range to do this.

    Thanks,
    Justin

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

    Re: Set Sumifs Criteria Range to equal year

    You would do 2 criteria, >= 1/1/year and <=12/31/year

    Say A1 = 2014

    =SUMIFS(rangetosum,daterange,">="&DATE(A1,1,1),daterange,"<="&DATE(A1,12,31))

  3. #3
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Set Sumifs Criteria Range to equal year

    Assuming the data in Column C is read by Excel as a Date

    Add a criteria with the following to the Sumifs;

    YEAR(C1)=YEAR(41640)

    41640 is the excel date index for Jan 1 2014, and the YEAR() function returns the year for the given date. This will return a TRUE/FALSE if the YEAR() of your C1 value matches the YEAR() of 41640 (which is 2014)
    Last edited by Speshul; 07-10-2014 at 09:58 AM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Set Sumifs Criteria Range to equal year

    or make a column and define the year and month.

    =year(a2)
    =month(a2)

    and drag down.

    After that you can use these info also in the pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] SUMIFS and Date Criteria (Month Year etc...) but without helper column?
    By JungleJme in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-16-2013, 07:21 AM
  2. SUMIFS with a criteria range ?
    By vemix in forum Excel General
    Replies: 6
    Last Post: 12-20-2012, 11:56 PM
  3. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  4. [SOLVED] Use TEXT function as Criteria on Sumifs to convert month/year to date format
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-08-2012, 07:49 PM
  5. Replies: 1
    Last Post: 05-16-2011, 05:00 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