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.
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.
-
Thank you so much, Paul!! That was the issue. It is now working 😊
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!