I recently moved from an Excel spreadsheet to a SharePoint list. I had a column in Excel where a status is returned based on the following formula:
=IFERROR(IF( [ExpiryDate] - TODAY() > 90; "Yes"; IF( TODAY() - [ExpiryDate] <=90; "Soon"; IF( [ExpiryDate] - TODAY() < 0; "No"; IFNA( [ExpiryDate]; "Not applicable")))); "Not applicable")
This formula evaluates the difference between the ExpiryDate (a date type column) and today's date (the TODAY() function in Excel), and based on the result, returns the status: "Yes" if more than 90 days, "Soon" if between 90 and
0 days, "No" if negative, or "Not applicable" if there was no data/entry in the ExpiryDate field.
However, converting to Sharepoint list, I gathered that the TODAY() function does not work in SharePoint. Is there an alternative solution to this one?