Hi all,
Two different scenarios, very simple but I could not manage to get them working
First is,
I am trying to create a formula where it’s supposed to calculate the days between 12/31/2022 and certain column, then divide it to 30 to take months, then multiply the result with two other columns and round the result and reflect it to the respective row.
Now I have added a condition to apply a rule where it should check if the result of the above mentioned equation is less than zero or not and reflect the data accordingly. However, I could not get the formula working properly…
IF(ROUND(SUM(DAYS(DATE(2022,12,31), {Possible Start Date})/30){Number of Employees}{Price Equivalence}) > 0,
ROUND(SUM(DAYS(DATE(2022,12,31), {Possible Start})/30){Number of Employees}{Price Equivalence}),0)
What I’m trying to achieve is very simple, if the round result between dates is negative, than reflect 0 (or any custom text) otherwise, reflect the result itself.
Second is,
The same formula, however I’ll be making it calculate results for 2023 only. Therefore I need the formula to make the calculation starting from Jan 1, 2023 and avoid any months coming from 2022. How should I modify it?
ROUND(SUM(DAYS(DATE(2023,12,31), {Possible Start})/30){Number of Employees}{Price Equivalence}
,0)
Any tips or help is much appreciated.
Thanks to all in advance!