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.

Subtracting Days from field

Featured Replies

I have this conditional formating calc.


(ProcessTracking::P10ReviseDate >= ProcessTracking::P10PlanDate &#8211; 7) and  (ProcessTracking::P10ReviseDate < ProcessTracking::P10PlanDate)



The complaint is with the "P10PlanDate - 7", how do I subtract days from a field.

In a previous iteration which was doing the wrong thing but worked was......



(ProcessTracking::P10ReviseDate  > Get ( CurrentDate ))  and  (ProcessTracking::P10ReviseDate  &#8804; Get ( CurrentDate ) + 7)

Thanks

Michael

Please explain, in plain human language, what is the condition you want to apply,

  • Author

Comment,

What I am trying to achieve is that if the ReviseDate set is within 7 days prior to reaching PlanDate and less than PlanDate the field goes yellow, alerting the user.

I have another conditional formatting calc that turns the field red when plan date is reached and/or passed.

All fields are defined as date.

ReviseDate set is within 7 days prior to reaching PlanDate and less than PlanDate

That would be =

PlanDate - 7 < ReviseDate and ReviseDate < PlanDate


 

However, if you have another condition for ReviseDate ≥ PlanDate, then =

 


PlanDate - 7 < ReviseDate

should be quite sufficient - provided the other condition is subsequent to this one.

  • Author

Comment,

Works, thank you.

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.