Nested IF statements
Hi,
Can someone help with my nested IF statement please.
I am trying to calculate a sum based on the entry in my TASK TYPE column and the value that sits in the TASK VALUE column. It's a simple (TASK TYPE x TASK VALUE) x %.
The % varies according to the TASK TYPE. Of the 8 variations of TASK TYPE, all except 3 are multiplied by 100%. I am trying to write a statement that details the 3 variations as value if true, and then ends with a value if false of *1.
Here is the formula I am using which is coming up with an error of #INVALID OPERATION. Any idea what I am doing wrong?
=IF([TASK TYPE]@row = "AAA", [TASK VALUE]@row * 0.5, IF([TASK TYPE]@row = "BBB", [TASK VALUE]@row * 0.35, IF([TASK TYPE]@row = "CCC", [TASK VALUE]@row * 0.5, *1)))
Thank you!
Best Answer
-
At the very end you just say "times 1" but you don't say "WHAT times 1". Try entering a task value reference there to tell it what number the 1 is supposed to be multiplied by.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
At the very end you just say "times 1" but you don't say "WHAT times 1". Try entering a task value reference there to tell it what number the 1 is supposed to be multiplied by.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you so much, Paul!! That was the issue. It is now working 😊
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 304 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!