Forum Discussion

Rev_AmyA's avatar
Rev_AmyA
Copper Contributor
Jul 11, 2024

I need help writing code using the IF statement and COS in excel.

This is what I am trying to do:   =IF(B5=1,COS(F5)*G5, IF(B5=4,-COS(F5)*G5)).  What I get in the cell is just a repeat of the code and not a value.

Resources