I’m using the formula fields to build a prioritization score that takes into account Impact, Effort, and Days Until Deadline
- Days until deadline is calculated using the subtraction function from (Today - Due Date)
- Deadline Factor is calculated by (10/Days Until Deadline) x 10
- Priority Score is calculated by (Impact * Deadline Factor)/Effort
The problem is if the deadline is today, then there will be 0 days until the deadline and the deadline factor formula will break.
It would be great to be able to use something like Max() function to ensure that the denominator is never zero. It takes the maximum value between the total days until the deadline and 1. If the total days until the deadline is zero, it will be replaced with 1, ensuring that the formula doesn’t result in an error.
Any workaround ideas?