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.

Featured Replies

  • Newbies

I am trying to create a prorated amount calculation based on a birth month and the month of an exam.

Example: Birthday is 7/6/03 and the exam is 2/6/03. A difference of 5 months. That number is then multiplied by $14.58. I can't seem to get a calculation that will get the difference between the two dates and make it positive integer to multiple by the $14.58. Any suggestions?

Thanks,

Josef

I hope you have the birthday and exam dates in real date fields, otherwise none of these calcs will work...

Month(Exam) - Month(Birthday)

but you also need to take the year into account, so it needs to be:

((Year(Exam) - Year(Birthday)) * 12) + Month(Exam) - Month(Birthday)

Hi,

try;

Abs(Month(Date1) - Month(Date2)) * 14.58

HTH

  • Author
  • Newbies

Worked great. Thank you for your help on it. This will save us a lot of manual time.

Josef

Been searching the whole forum but can't seem to find the right answer, so here goes another simple question:

How can I calculate the amount of days before the birth date?

With this formula I get in trouble when Status(CurrentDate) gets past the birth date.

Case(

Day(Status(CurrentDate)) = 31 and Day(birth date) < "30", "1",

Min(

Day(Status(CurrentDate)), 30)) - Min(Day(birth date), 30) + ((Month(Status(CurrentDate)) +

Case(

Day(Status(CurrentDate)) = 31 and Day(birth date) < "30", "1") - Month(birth date)) * 30)

Any idea?

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.