+ Reply to Thread
Results 1 to 3 of 3

sum if function between years

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    India
    MS-Off Ver
    Excel 2003 to Excel 2010
    Posts
    235

    Lightbulb sum if function between years

    As per attached file, Could you please let me know that how i can use Sum if function between years if I have month wise data


    Thanks
    Attached Files Attached Files
    Click on (*), if you agree.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: sum if function between years

    Something like this, maybe??

    =SUMIFS(B:B,$A:$A,">="&$F6,$A:$A,"<"&EDATE($F6,12))

    I chaged the years to 01/01/xxxx and formatted them to look like years (column F)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: sum if function between years

    perhaps, put in cell G6 :

    =SUMPRODUCT(--(YEAR($A$6:$A$49)=$F6),B$6:B$49)

    and copied down and cross
    Attached Files Attached Files

+ 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] Age based on DOB; Accounts for leap years. Years old if >2, Months if <2 years old.
    By sharpmel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2013, 04:20 PM
  2. Replies: 2
    Last Post: 10-16-2012, 11:40 AM
  3. Function for Listing of years in two digits
    By netvasi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-20-2011, 06:34 AM
  4. IF(OR Function with years
    By Wzbell in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-24-2006, 03:37 PM
  5. Replies: 9
    Last Post: 08-11-2006, 11:10 AM
  6. Function - Counting Years in range
    By VBA Noob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-17-2006, 03:00 PM
  7. Replies: 1
    Last Post: 12-05-2005, 08:35 AM
  8. Function has worked for 5 years is now in error
    By umloew43 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2005, 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