+ Reply to Thread
Results 1 to 8 of 8

Rounding 1st and 15th of the month

  1. #1
    Registered User
    Join Date
    04-17-2020
    Location
    United States
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Rounding 1st and 15th of the month

    I've seen various questions and answers on this topic, but didn't find exactly what I was looking for.

    Need formula advise for:

    If the date is >=1,<=8, results show 1st of current month
    If >=9,<=22, results show 15th of current month
    If >=23,<=31, results shows the 1st of the next month

    Thanks for the help.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Rounding 1st and 15th of the month

    Are we talking about a date in a specific cell or we talking about today's date? Assuming Today's date
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Rounding 1st and 15th of the month

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-17-2020
    Location
    United States
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Re: Rounding 1st and 15th of the month

    Not necessarily today's date, just any date value.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Rounding 1st and 15th of the month

    Although I prefer BMV's, and stealing from him,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-17-2020
    Location
    United States
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Re: Rounding 1st and 15th of the month

    Solved! Thanks for the advice.

  7. #7
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Rounding 1st and 15th of the month

    As option
    Please Login or Register  to view this content.

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Rounding 1st and 15th of the month

    Another one

    =EOMONTH(A2,(DAY(A2)>22)-1)+(MOD(DAY(A2)-9,31)<14)*14+1

+ 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] Rounding dates UP or DOWN to nearest 15th or 30th of the month.
    By swearjarmagnet in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2020, 08:49 AM
  2. Convert all dates to first or 15th or whatever of month
    By carlito2002wgn in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-14-2019, 10:40 AM
  3. Rounding Dates up to the 15th or the last day of the month
    By karenbr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-12-2011, 04:52 PM
  4. Replies: 5
    Last Post: 07-09-2011, 03:51 AM
  5. Need to add income only between 1st and 15th of each month
    By RickyP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-08-2008, 02:29 PM
  6. Formatting for 15th and last day of the month
    By Emilio Guerra in forum Excel General
    Replies: 1
    Last Post: 12-01-2005, 11:20 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