+ Reply to Thread
Results 1 to 4 of 4

Formula for number of days passed in quarter for a given date

  1. #1
    Registered User
    Join Date
    04-17-2018
    Location
    Fort Wayne
    MS-Off Ver
    2016
    Posts
    1

    Formula for number of days passed in quarter for a given date

    I work at a non profit where we need to track the length of stay according normal american quarters (Jan, April, July, October). We also need to do this for all data from past tenants. It's a small nonprofit that finds affordable housing for young adults who have aged out foster care. We are underfunded and just trying to make things work.



    We have:

    -one column for a move-in date.

    -One column for a move-out date.



    We want:

    -One column to tell us how many quarters they have lived here to date, not just what quarter the move-in date falls in.

    -One column to tell us how many days they have lived here in total (we have a simple date-minus-date formula here).

    -One column to tell me how many days they have have been here in this quarter.



    (IMPORTANT: The most important formula that I need is one that can take a move-in date and tell me how many days someone has lived here in that quarter when that quarter is finished AND "TO DATE", and similarly a formula that can do the same for a move-out date)



    Thank you all so much,



    B

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Formula for number of days passed in quarter for a given date

    please specify what normal american quarter is

  3. #3
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Formula for number of days passed in quarter for a given date

    Hi

    Assume Column A Date in & column B Date Out

    How many quarters lived in =CEILING((MONTH(B2))/3,1)-CEILING((MONTH(A2))/3,1)+1+INT((B2-A2)/365)*4

    How many days they been in last quarter B2-DATE(YEAR(B2),LOOKUP(MONTH(B2),{1,4,7,10}),1)+1

  4. #4
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Formula for number of days passed in quarter for a given date

    Hi,

    I have made an excel file with the formula's I think you need..
    let me / us know that meets your needs or that I missed some. I got a little lost in the "footnote" where you describe the most important formula's

    if anything is missing it would be a great help of you added to my file a wanted result sheet with a manualy calculated example of how you count days and quarters stayed
    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] Calculate number of days that have passed
    By MSE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2016, 12:39 PM
  2. Counting the number of days in a Quarter from a date range
    By dchubbock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-05-2015, 05:33 AM
  3. Replies: 13
    Last Post: 06-04-2015, 01:56 AM
  4. Replies: 1
    Last Post: 08-21-2013, 02:14 PM
  5. [SOLVED] Any Formula to know how many days have passed from one date to another?
    By hcastro in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-08-2013, 07:06 PM
  6. Formula/Macro to determine when 90 days have passed from pre-defined date
    By maacmaac in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-23-2011, 12:23 AM
  7. Replies: 1
    Last Post: 11-29-2010, 12:10 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