+ Reply to Thread
Results 1 to 4 of 4

minus 182 days, then round to nearest quarter

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    minus 182 days, then round to nearest quarter

    Hi,

    I'd like to include -182 days to this formula before rounding the quarter. I can't quite figure out how to add that into one formula. Right now I do the -182 in J4 and then apply this formula in another cell.
    =DATE(YEAR(J4),MONTH(J4)-MOD(MONTH(J4),3),1)

    Any help is appreciated, Thank you

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: minus 182 days, then round to nearest quarter

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    01/10/2022 gives 01/09/2022 with your formula and 01/03/2022 with the adjustment.

    Looks right but you should check with your data (and expectations).
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: minus 182 days, then round to nearest quarter

    That worked, thanks!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: minus 182 days, then round to nearest quarter

    You're welcome. Thanks for the rep.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] Round up to nearest quarter
    By Dunderlin in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-04-2018, 10:08 AM
  2. [SOLVED] Round to the nearest quarter dollar
    By jimboryan in forum Excel General
    Replies: 2
    Last Post: 09-23-2015, 01:49 PM
  3. [SOLVED] Round down to nearest quarter...unless it's already there.
    By HuskerBronco in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2014, 11:41 AM
  4. [SOLVED] how do I round 3.30 to the nearest quarter. 3.30=3.25
    By pat canning in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-20-2006, 01:49 PM
  5. [SOLVED] round numbers to the nearest quarter?
    By LeelooIvy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-14-2005, 03:06 PM
  6. Round to nearest quarter & half
    By hailnorm in forum Excel General
    Replies: 1
    Last Post: 04-14-2005, 01:47 PM
  7. [SOLVED] Round time to nearest quarter hr
    By John in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2005, 06:06 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