Forum Discussion

MiniWop's avatar
MiniWop
Copper Contributor
Feb 07, 2022

Creasting a formula in Exce

I want cell  G5=G5*F2 unless J5=F5 then G5 should be 0

 

4 Replies

    • MiniWop's avatar
      MiniWop
      Copper Contributor
      Sorry, The formula for Cell G5 is: G2*F5
      But if J5 is equal to F5 then I want G5 to be 0

      Does that make sense now? If so what would that formula be for cell G5?
      • MiniWop 

        In G5:

         

        =IF(J5=F5,0,G2*F5)

         

        If you use comma as decimal separator, the formula should be

         

        =IF(J5=F5;0;G2*F5)

Resources