Would anyone be wiling to tell me how to write this in an excel formula?
IF B9 is not blank,
Then
IF C7>8,
Then "variable1"*C7
Else "Variable2"*C7
Else, 0
In other words, if B9 is blank, return no value. IF it is not blank, then check to see if C7's value is greater then 8. If it is multiply variable1 against C7 and if it is not then multiply variable2 against C7.
IF B9 is not blank,
Then
IF C7>8,
Then "variable1"*C7
Else "Variable2"*C7
Else, 0
In other words, if B9 is blank, return no value. IF it is not blank, then check to see if C7's value is greater then 8. If it is multiply variable1 against C7 and if it is not then multiply variable2 against C7.