Forum Discussion

Budgen's avatar
Budgen
Copper Contributor
Nov 02, 2022
Solved

IF to check multiple cells and formula for each depending on result

Hi all,   So the use for this is a trade journal. You take a trade/position, it has 3 take profits which close a % of the trade. The cell I'm trying to create is a Stop loss. How big the position c...
  • Patrick2788's avatar
    Patrick2788
    Nov 02, 2022

    Budgen 

     

    Here's the formula:

    =IF(I2="",O2*1,IF(K2="",O2*0.8,IF(M2="",O2*0.4,O2*0.2)))

     

    You might also see it written like:

    =IF(ISBLANK(I2),O2*1,IF(ISBLANK(K2),O2*0.8,IF(ISBLANK(M2),O2*0.4,O2*0.2)))

Resources