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 😊
Help Article Resources
Categories
Check out the Formula Handbook template!