Adding IF condition Formula

Jason Voorhies
edited 09/24/24 in Formulas and Functions

Good morning,

I'm struggling with the syntax for the following formula where I'm trying to include a WHERE condition that looks for an active status. The formula works great until I introduce the WHERE condition to the point I've just thrown my hands up. My status flag condition is either 'Active' or 'Not Active', or 'Open'.

=COUNT(DISTINCT(COLLECT({FY Forecasts Resource Name}, {FY Forecasts Product Team}, "xxx")))

I've adjusted it to the following:

=IF({FY Forecasts Resource Status}, "Active", COUNT(DISTINCT(COLLECT({FY Forecasts Resource Name}, {FY Forecasts Product Team}, "xxxx"))))

The results are an 'Invalid Data Type'.

This should be simple but I've managed to not get it done. Any help would be appreciated.

Jason

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!