Thread: If Statement
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default If Statement

Okay, slight amendment:

=IF(AND(B3="Stock",C3=1,C3<25),D3*2,0)

Hope this helps.

Pete

On Jan 13, 8:57*pm, tss wrote:
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.



"Pete_UK" wrote:
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


On Jan 13, 3:46 pm, tss wrote:
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


.- Hide quoted text -


- Show quoted text -