+ Reply to Thread
Results 1 to 4 of 4

Trying to count the number of paydays

  1. #1
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327

    Trying to count the number of paydays

    Hi All,
    how can I write a formula to calculate the number of paydays I have left in my current job?

    Today's date - 06/26
    My next payday is 07/03
    My last payday will be 12/18/09

    I get paid every two weeks.

    any ideas?

    Thanx

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =(B1-A1)/14+1

    where A1 houses next pay date and B1 houses last pay date.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-29-2005
    Location
    TN
    MS-Off Ver
    Microsoft 365
    Posts
    327
    Quote Originally Posted by NBVC
    Try:

    =(B1-A1)/14+1

    where A1 houses next pay date and B1 houses last pay date.
    Do you know how to have it calculate based on today's date?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Perhaps?

    =INT((B1-(TODAY()-WEEKDAY(TODAY(),3)+3))/14+1)

    where B1 houses your last pay date

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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