IF OR Question

I'm trying to calculate a Total Amount column where if the Type field is either Faculty or EMT then the Total Amount equals Total Meals * 100 (each meal costs $100), but otherwise is $0. I keep getting errors with this:
=IF(OR(Type@row, "Faculty", Type@row, "EMT", [Total Meals]@row * 100, 0))
Answers
-
I hope you're well and safe!
Try something like this.
=IF(OR(Type@row, "Faculty",ย Type@row, "EMT"), [Total Meals]@row * 100, 0)
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrรฉe Starรฅ | Workflow Consultant / CEO @ WORK BOLD
โ Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrรฉe Starรฅ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks! I'm still getting an "Invalid Data Type" error.
-
Happy to help!
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help.ย (share too,ย andree@workbold.com)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrรฉe Starรฅ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
-
Good catch! I missed it, and just noticed the missing parenthesis.
โ Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrรฉe Starรฅ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
That last one worked, thanks so much!
Help Article Resources
Categories
Check out the Formula Handbook template!