Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Converting Excel Formula to Smartsheet

Hi,

I'm struggling to convert a formula that I have been able to use in Excel to my Smartsheet. I want to use the formula to change the status column based on an End Date. The Excel formula is:

IF($F2="p","No Date",IF($G2<$C$1,"archive",IF($G2<$C$3,"expired",IF($G2-$C$3<=$C$2,"Notifying","Current"))))

F2 = a cell in the Category column in Smartsheet

G2=a cell in the End Date column in Smartsheet

C1 = a static Date (9/1/22) - I put this in a row (Start Date Column) on top of my main data (see screenshot). I know this is common in Excel or people put these kinds of references in another tab but I'm not sure if that is good practice in Smartsheet

C2 = a static number of days (90) - referenced in "Asset/System ID" column in Smartsheet

The way I converted the Excel formula in Smartsheet was:

=IF(Category@row = "Purchase", "No Date", IF([End Date]@row < [Start Date]2, "archive", IF([End Date]@row, <TODAY(), "Expired", IF([End Date]@row - TODAY() - [Asset/System ID]2, "Notifying", "Current"))))

but it's giving me an "Incorrect Argument Set" error

Any tips or assistance would be much appreciated!

Best Answers

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions