Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 447
Default greater than forumla

If B2 is greater than A2, enter A2. If B2 is less than A2, enter B2. What's
the formula for this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default greater than forumla

=IF(B2A2,A2,B2)
or more simply
=MIN(A2,B2)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Karen" wrote in message
...
If B2 is greater than A2, enter A2. If B2 is less than A2, enter B2.
What's
the formula for this?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default greater than forumla

=MIN(A2,B2)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Karen" wrote:

If B2 is greater than A2, enter A2. If B2 is less than A2, enter B2. What's
the formula for this?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default greater than forumla

What do you want if B2 = A2?

Try this:

=MIN(A2:B2)

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
If B2 is greater than A2, enter A2. If B2 is less than A2, enter B2.
What's
the formula for this?



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 forumla Ann Excel Worksheet Functions 2 June 26th 07 01:50 AM
Most Used Name Forumla Myrm Excel Worksheet Functions 3 March 6th 07 06:16 PM
Forumla tuzdevil Excel Discussion (Misc queries) 2 June 1st 06 10:44 AM
Forumla Help streetboarder Excel Discussion (Misc queries) 12 January 27th 06 11:50 PM
Forumla Don Excel Worksheet Functions 3 August 9th 05 02:52 AM


All times are GMT +1. The time now is 06:58 PM.

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"