+ Reply to Thread
Results 1 to 5 of 5

Count days in a rolling 12 month period

  1. #1
    Registered User
    Join Date
    11-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    24

    Count days in a rolling 12 month period

    I have a spreadsheet with date arrived in column A and date departed in column B. Column C contains the difference between the two, thus number of days in location. I'm using Excel 2010. I'd like to count the number of days in location over a rolling 12 month period. Thank you for any help or pointers anyone can give.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,261

    Re: Count days in a rolling 12 month period

    Hard to offer precise suggestions without seeing what you are working with, but try something like this...
    =EDATE(TODAY(),-12)

    This will give you exactly 12 months back from today
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Count days in a rolling 12 month period

    Ford,
    Thank you for responding.
    Here is something similar to what I have -
    Attached is a sample of my data. I need to tabulate the number of days on location on a rolling 12 month period.
    Mike
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,261

    Re: Count days in a rolling 12 month period

    Im not sure what you mean by rolling 12 months, your dates are at mosr 18 days apart, and the latest is 25 Oct 14.

    Can you show some sample answers?

  5. #5
    Registered User
    Join Date
    11-20-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Count days in a rolling 12 month period

    Thanks for the help. I've resolved the problem.

+ 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. Count days per month within a period
    By Cunner in forum Excel General
    Replies: 4
    Last Post: 02-03-2014, 06:12 AM
  2. Replies: 10
    Last Post: 01-09-2014, 07:04 PM
  3. Remove missed days after 12 month rolling period
    By gopherc4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2009, 06:12 PM
  4. How to count dates in a 12 month rolling period
    By butlej6 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-05-2008, 06:00 PM
  5. How do I count dates in a 12 month rolling period?
    By butlej6 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2008, 05:25 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