ENDOFQUARTER formula

For modules building, it would be helpful to have a ENDOFQUARTER formula to identify the end of quarter date of a date.

Tagged:
1
1 votes

New · Last Updated

Comments

  • Rnilsson
    edited November 2023

    You could do 3 line items (Date, Period, End Date)
    line item—-Format—————————Formula.
    Date.———-Date. —————————-Start() ← Should already be in the model
    Period ——-Time Period (quarter)—- period(Date.) ← Would probably already be in the model
    End Date —-Date —————————-"end(period)"
    but I agree it would be quicker with one command

  • @MarionCarrie,

    ENDOFQUARTER(Date) =
    IF MONTH(Date) <= 3 THEN DATE(YEAR(Date), 3, 31)
    ELSEIF MONTH(Date) <= 6 THEN DATE(YEAR(Date), 6, 30)
    ELSEIF MONTH(Date) <= 9 THEN DATE(YEAR(Date), 9, 30)
    ELSE DATE(YEAR(Date), 12, 31)

    This formula checks the month of the given date and returns the end of the corresponding quarter.

  • THANK YOU SO MUCH !

Get Started with Idea Exchange


See our Submission Guidelines and Idea Evaluation Criteria, then start posting your own ideas and showing support for others!