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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 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!