G
Guest
Hi,
does anyone know what is wrong with the following if statement?
=IF(C2>BL2;(C2-BL2)*BX2+BR2*BW2+BQ2*BV2+BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BK2;(C2-BR2)*BW2+BQ2*BV2+BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BJ2;(C2-BQ2)*BV2+BP2*BU2+BO2*BT2+BN2*BS2,
IF(C2>BI2;(C2-BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BH2;(C2-BO2)*BT2+BN2*BS2;C2*BN2)
What I'm trying to do is make Excel do calculations based on depending on
the value in cell C2 in this case. As far as I know it should be possible to
use several IFs like =IF(A=1;Green, IF(A=2,Red, IF(A=3, Blue))) or is there
another function that is more suitable for these calculations?
Best regards Bell
does anyone know what is wrong with the following if statement?
=IF(C2>BL2;(C2-BL2)*BX2+BR2*BW2+BQ2*BV2+BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BK2;(C2-BR2)*BW2+BQ2*BV2+BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BJ2;(C2-BQ2)*BV2+BP2*BU2+BO2*BT2+BN2*BS2,
IF(C2>BI2;(C2-BP2*BU2+BO2*BT2+BN2*BS2,IF(C2>BH2;(C2-BO2)*BT2+BN2*BS2;C2*BN2)
What I'm trying to do is make Excel do calculations based on depending on
the value in cell C2 in this case. As far as I know it should be possible to
use several IFs like =IF(A=1;Green, IF(A=2,Red, IF(A=3, Blue))) or is there
another function that is more suitable for these calculations?
Best regards Bell