Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Displaying Quarterley values from Date Ranges or Months

Featured Replies

Hi,

I currently am working on a database that has a specific date for when work has to be done, the client has requested that this be displayed as Quarters of the financial year.

So what I need to do is to take 18/04/07 and assign it to a value of Q1 etc.

What is the best way of doing this?

--

I'd like to be able to set the date, and then a box to the left of the date, automatically populate with Q1, Q2, Q3, Q4...

Your help is always appreciated!

Cheers,

Dan :)

Wouldnt 18/04/07 be Q2?

Create a calc field with text result.

"Q" & GetAsText (Div ( Month ( yourdate ) - 1; 3 ) + 1 )

or

Choose ( Div ( Month ( yourdate ) - 1; 3 ); "Q1"; "Q2"; "Q3"; "Q4" )

Edited by Guest

  • Author

Hi,

Our Financial year starts in April so this is the following:

Q1 - April, May, June

Q2 - July, August, September

Q3 - October, November, December

Q4 - January, February and March

This calc script seems to be a month out on the quarters, how do I adjust it?

Cheers,

Dumbo Dan :)

Try

Choose ( Div ( Month ( yourdate ) - 1; 3 ); "Q4"; "Q1"; "Q2"; "Q3" ) )

BTW, this would have been good to know earlier. :)

Our Financial year starts in April so this is the following:

Q1 - April, May, June

Q2 - July, August, September

Q3 - October, November, December

Q4 - January, February and March

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.