If OR and SUM formula

User251
✭✭✭✭✭
Hi,
I created this formula but I'm not sure why I'm getting the error message "INVALID DATA TYPE"
=IF(OR(Name@row = "AB", "CD"), [Number1]@row, SUM([Number2]@row:[Number5]@row))
Tags:
Best Answer
-
You are close, your syntax is just off by a bit.
=IF(OR(Name@row = "AB", Name@row = "CD"), [Number1]@row, SUM([Number2]@row:[Number5]@row))
Answers
-
You are close, your syntax is just off by a bit.
=IF(OR(Name@row = "AB", Name@row = "CD"), [Number1]@row, SUM([Number2]@row:[Number5]@row))
-
@Carson Penticuff It worked!! Thank you so much!! I truly appreciate your quick and very helpful response!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 68K Get Help
- 474 Global Discussions
- 209 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 85 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!