![]() |
If Statement
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 Statement
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 =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** ) |
If Statement
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 |
If Statement
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 . |
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 - |
All times are GMT +1. The time now is 01:55 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com