#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tss tss is offline
external usenet poster
 
Posts: 5
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default 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** )
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default 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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tss tss is offline
external usenet poster
 
Posts: 5
Default 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


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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 -




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 07:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"