Here is the scoop. I am making a product calculator which has 5 different options, but the value I need to apply to the initial variable is dependent on two separate variables to determine the correct value to multiply by.
So logically, I have value A which I need to multiply by variable B, however, the value of B is dependent on the input from variables C and D. Value B is an absolute value. To add insult to injury, if value A is less than 12, I need to subtract .5 or .25 depending on the value of variable C from the original value before B is applied. I am lost here.
Here is the original equation from the excel spreadsheet that was given to me to adapt:
=IF(AND(B9="Option_1",B11="Horizontal"),D6+K6+1-0.00515464*(D6+K6),IF(AND(B9="Option_1",B11="Vertical"),D6+K6+1-0.0064433*(D6+K6),IF(AND(B9="Option_2",B11="Horizontal",D6>12),D6+K6-0.5+1-0.010417*(D6+K6),IF(AND(B9="Option_2",B11="Vertical",D6>12),D6+K6-0.25+1-0.005208*(D6+K6),IF(AND(B9="Option_2",B11="Horizontal",D6<12),D6+K6-0.25+1-0.010417*(D6+K6),IF(AND(B9="Option_2",B11="Vertical",D6<12),D6+K6+1-0.005208*(D6+K6),IF(AND(B9="Option_3",B11="Vertical",D6>12),D6+K6-0.5+1-0.010417*(D6+K6),IF(AND(B9="Option_3",B11="Horizontal",D6>12),D6+K6-0.25+1-0.005208*(D6+K6),IF(AND(B9="Option_3",B11="Vertical",D6<12),D6+K6-0.25+1-0.010417*(D6+K6),IF(AND(B9="Option_3",B11="Horizontal",D6<12),D6+K6+1-0.005208*(D6+K6),IF(AND(B9="Option_4",B11="Vertical"),D6+K6+1-0.03125*(D6+K6),IF(AND(B9="Option_4",B11="Horizontal"),D6+K6+1-0.02083*(D6+K6),IF(AND(B9="Option_5",B11="Vertical"),D6+K6+1-0.0625*(D6+K6),IF(AND(B9="Option_5",B11="Horizontal"),D6+K6+1-0.052083*(D6+K6)))))))))))))))
Thanks!