If Statement

  • Thread starter Thread starter tss
  • Start date Start date
T

tss

Need help with this formula?
Need to calculate a formula for CELL A based upon the following
IF CELL B = STOCK and CELL C >= 1.0, <25.0 THAN CELL D * 4
 
tss said:
Need help with this formula?
Need to calculate a formula for CELL A based upon the following
IF CELL B = STOCK and CELL C >= 1.0, <25.0 THAN CELL D * 4

=IF(AND(B1="STOCK",C1>=1,C1<25),D1*4,"**No idea what you want here**")

IF( AND( logical1, logical2, logical3 ), value_if_true, **value_if_false** )
 
Put this in A1:

=IF(AND(B1="Stock",C1>=1,C1<=25),D1*4,0)

You didn't say what you wanted to return if those conditions are not
met - I've assumed zero.

Hope this helps.

Pete
 
Thanks, I did not explain what I wanted to do very well, You got me very
close, what I finally wanted to get, was IF B3 was Stock, and C3 was >=1, <25
Then Multiply D3 by 2,

A B C D
Stock $11.14 1.00 A should be 2


Hopefully this is explained better.
 
Back
Top