+ Reply to Thread
Results 1 to 7 of 7

Show days until payday

  1. #1
    Registered User
    Join Date
    07-08-2015
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    3

    Show days until payday

    Hi,
    I'm trying to write a formula that will show how many days until payday, where payday is the 25th of every month.
    Can someone point me in the right direction? I've found many that allow you to calculate days until a specific date, but I'm not sure how to write 'the 25th of THIS month' into a formula.

    Thanks!

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Show days until payday

    Maybe -

    =DATE(YEAR(TODAY()),MONTH(TODAY()),25)-TODAY()
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    07-08-2015
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Show days until payday

    That worked - thanks very much!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Show days until payday

    Until Today is the 26th of a month, then it will be -1 (27th -2, 28th -3 etc)
    You would probably want it to reflect the 25th of the NEXT month once we've passed the 25th.

    Try
    =DATE(YEAR(TODAY()),MONTH(TODAY())+(DAY(TODAY())>25),25)-TODAY()

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Show days until payday

    Quote Originally Posted by Jonmo1 View Post
    Until Today is the 26th of a month, then it will be -1 (27th -2, 28th -3 etc)
    You are absolutely right..

    I missed that one completely..

  6. #6
    Registered User
    Join Date
    07-08-2015
    Location
    Newcastle, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Show days until payday

    Thanks - that's the one!

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Show days until payday

    You're welcome.

+ 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. Days until Payday
    By brucey2343 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2013, 12:58 PM
  2. Show days in a month dynamically + working days
    By vemix in forum Excel General
    Replies: 5
    Last Post: 12-28-2012, 07:54 AM
  3. APR on Payday Loans
    By midds in forum Excel General
    Replies: 3
    Last Post: 06-14-2011, 04:23 AM
  4. Payday formula
    By Prospero in forum Excel General
    Replies: 4
    Last Post: 02-27-2005, 07:34 PM
  5. can anyone help me with a payday calculator?
    By cube in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2005, 12:06 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