#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default if statements

I need to add an if statement to a calculation...

B2 = 2%
B32 = 1,000,000
B33 = B2*B32

B33: Can not be higher than C3*C33 - how do I add that to the field?

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default if statements

In a new cell (say B34???):

=if(b33c3*c33,c3*c33,b33)
or
=min(b33,c3*c33)

If the formula goes in B33, then just substitute your original formula in either
expressions:

=if(b2*b32c3*c33,c3*c33,b2*b32)
or
=min(b2*b32,c3*c33)



sdav wrote:

I need to add an if statement to a calculation...

B2 = 2%
B32 = 1,000,000
B33 = B2*B32

B33: Can not be higher than C3*C33 - how do I add that to the field?

Thank you!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default if statements

==MIN(C3*C33,B2*B32)

--
Best Regards,

Luke M
"sdav" wrote in message
...
I need to add an if statement to a calculation...

B2 = 2%
B32 = 1,000,000
B33 = B2*B32

B33: Can not be higher than C3*C33 - how do I add that to the field?

Thank you!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default if statements

"sdav" wrote:
B33 = B2*B32
B33: Can not be higher than C3*C33
- how do I add that to the field?


=MIN(B2*B32, C3*C33)


----- original message -----

"sdav" wrote:
I need to add an if statement to a calculation...

B2 = 2%
B32 = 1,000,000
B33 = B2*B32

B33: Can not be higher than C3*C33 - how do I add that to the field?

Thank you!

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 then statements Mercy Excel Worksheet Functions 2 June 9th 08 12:17 AM
If, Then Statements RS Excel Worksheet Functions 0 November 30th 06 05:38 PM
If, Then Statements Dave F Excel Worksheet Functions 0 November 30th 06 05:33 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
if statements help Smurphy New Users to Excel 2 February 6th 06 09:23 PM


All times are GMT +1. The time now is 12:10 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"