Good Morning Smartsheet Community,
I have having a couple of issues regarding the nested If logic against Date data and having the RGY ball symbol output. Here is my request:
1. First column of dates
- If the Date is over Today(-365), make the ball red. Meaning, if the row date is over one year from today, make that ball red;
- If that Date is under 1 year but is TODAY(-275), make the ball yellow. Meaning, that if the date is 90 days before it hits the one year mark, make that ball yellow;
- If the date is under 1 year and also under Today(-275), make the ball green. Meaning, if that data is under Today(-274) - it is in the green.
2. Second column of dates
- If the first column of dates exist but there is a date in this new column, do the same logic as above.
So here is my issue. The code seems to work when the logic reviews the first column of dates. However, I wanted to logic to 'restart" if you will if there is a second column of dates. For instance, if the first column makes that ball red but then the person enters a date in the second column that would make the ball green, then the ball would be green.
I tried to do the logic of the second column first, then write out the logic for the first column check, and would get unparseable. If I write the logic like below, It doesn't recognize the second date check.
=IF([Material ReqDate]178 > TODAY(-365), "Red", IF([Material ReqDate]178 > TODAY(-275), "Yellow", IF([Material ReqDate]178 > TODAY(-276), "Green", IF([MR Paid Date]178 < TODAY(-365), "Red", IF([MR Paid Date]178 < TODAY(-275), "Yellow", IF([MR Paid Date]178 < TODAY(-276), "Green"))))))
Can someone please help me re-write this code and explain how I could better write this I attached a screenshot of what I would like to test.
Last issue - I will sometimes drag the code down and it works in the row above and then returns nothing but blank in the next row, even though the data is exactly the same. Is there a reason why this is?
Thank you,
Veronica
