Formula will function in Excel but not SmartSheet

rebecca.sand82251
rebecca.sand82251 ✭✭
edited 12/09/19 in Formulas and Functions

For some reason I am having trouble getting this formula to function in SmartSheet (even though it works in Excel)...

I am wanting to populate a "Y" in 'Valid Approval?' column only when one of the following 2 situations occur:

1) 'Primary Approval' says "Approved" AND 'Secondary Approval' says "Approved"

2) 'Primary Approval' says "Approved" AND 'Secondary Approval' is blank

Β 

Valid approval?Β  Β Β Primary ApprovalΒ  Β Β Secondary Approval

YΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Approved

NΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β ApprovedΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β Submitted

NΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β SubmittedΒ  Β  Β  Β  Β  Β  Β  Β  Β Approved

YΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β ApprovedΒ  Β  Β  Β  Β  Β  Β  Β  Β  Approved

Β 

This is the formula I wrote that functions in Excel...

=IF((COUNTIF(C2,"Approved")+COUNTIF(D2,"Approved"))*OR(COUNTIF(D2,"Approved")+COUNTIF(D2,"")),"Yes","No")

Β 

Any tips on how I get this to function in SmartSheet?

Β 

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!