Nested(?) If statements

Josephine
Josephine ✭✭✭
edited 1:30AM in Formulas and Functions

Not sure if nested is the right term. I want the formula to show -

If any of these columns (IT, SUS, HSE etc) have "Not Achieved" in them then look for the largest/ latest date from the columns IT comp. SUS Comp. HSE Comp. and display that date.

Otherwise "Badges complete".

The result column is a date column so not sure if that is part of the problem?

I tried this -

=IF(OR([SUS]@row = "Not Achieved", [IT]@row = "Not Achieved", [HSE]@row = "Not Achieved", [Leadership]@row = "Not Achieved"), MAX([Commercial Comp.]@row, [OPS Comp.]@row, [HR Comp.]@row, [HSE Comp.]@row, [Other Comp.]@row, [IT Comp.]@row, [SUS Comp.]@row), "Badges complete")

Any suggestions?

Tags:

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!