+ Reply to Thread
Results 1 to 9 of 9

Excel Formula for a rolling 365 days

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    Sarasota, FL
    MS-Off Ver
    Excel 2010
    Posts
    13

    Excel Formula for a rolling 365 days

    =SUMIF('A-C 27'!B5:B1000,"A",'A-C 27'!C5:C1000) Have formula need to caculate only 365 days. How would I add this to my formula to current formula listed?
    Attached Files Attached Files
    Last edited by tmorr24; 09-19-2014 at 10:03 AM. Reason: Added Spreadsheet

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel Formula for a rolling 365 days

    It's not particularly clear which of those references contain a date and I didn't see an attachment, so I'll just make one up because I'm fabulous.

    =SUMIFS('A-C 27'!C5:C1000,'A-C 27'!F5:F1000,">="&TODAY()-365,A-C 27'!B5:B1000,"A")

    In my example, your date is in Column F. Because I'm Fabulous.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel Formula for a rolling 365 days

    Now that you've attached an example, I can see that your dates in Column A.

    SUMIFS is similar to SUMIF, but the order of arguments is reversed.
    =SUMIFS(sum range, criteria range1, criteria1, criteria range2, criteria2, etc)

    In your spreadsheet, you left the selection in Column F, so I'll give an example from there.

    F5:

    =SUMIFS('A-C 27'!$M$5:$M$1300,'A-C 27'!$L$5:$L$1300,"EOP",'A-C 27'!$A$5:$A$1300,">="&TODAY()-365)

    If it helps, you can arbitrarily apply line breaks with Alt+Enter to keep things organized.

    This formula is no different, but is easier to read:
    Please Login or Register  to view this content.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Formula for a rolling 365 days



    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    09-17-2014
    Location
    Sarasota, FL
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Excel Formula for a rolling 365 days

    =SUMIFS('A-C 27'!$M$5:$M$1300,'A-C 27'!$L$5:$L$1300,"EOP",'A-C 27'!$A$5:$A$1300,">="&TODAY()-365)

    Based on the spreadsheet and the formula I have where would it pull today’s date from? Also, we just started with a new rule. If employee has missed no time for points after 90 days 1 point falls off. Is there a formula that I could add to capture this with a new column? This went into effect 9/1/2014.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel Formula for a rolling 365 days

    The capturing of today's date is done with the function TODAY(). TODAY() will be a different number tomorrow than it is now.

    =NOW() = 9/20/2014 13:10
    =TODAY() = 9/20/2014

  7. #7
    Registered User
    Join Date
    09-17-2014
    Location
    Sarasota, FL
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Excel Formula for a rolling 365 days -

    Thank you... I have gotten that fixed. Now I am working on my 90 day formula, however, I still need for it look back anytime someone has received no points in 90 days. I am going to upload my new spreadsheet to reflect this, and maybe you could give me some idea.

    New spreadsheet uploaded.
    Attached Files Attached Files

  8. #8
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel Formula for a rolling 365 days

    Your most recent attachment is full of broken links

  9. #9
    Registered User
    Join Date
    09-17-2014
    Location
    Sarasota, FL
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Excel Formula for a rolling 365 days

    New spreadsheet uploaded
    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. vlookup, index/match formula factoring in time(days) and IF formula
    By rishijain11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 06:37 PM
  2. [SOLVED] Number of days till.. Formula for counting number of days
    By Saturn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2013, 05:46 AM
  3. excel formula: days remaining=end date-todays date+extention days
    By fsprings in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-04-2013, 06:45 AM
  4. [SOLVED] Subtracting Hold Days from Network Days Formula
    By david1987 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2012, 08:30 AM
  5. Formula for last 7 days, 30 days
    By JK1234 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-20-2010, 07:39 AM

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