Selecting the greater (or lesser) of 2 values

  • Thread starter Thread starter djm
  • Start date Start date
D

djm

I am looking for a formula that will compare 2 values and select th
greater (or, in some cases, the lesser) of the 2 values...I have use
things like =If(a1>d1,a1,d1) etc etc but wonder if there is somethin
that is a bit more flexible...??.....any suggestions, anyone
 
Try Min() and Max()

=MIN(A1,B1) for the smaller
=MAX(A1,B1) for the bigger

Also:
=MIN(A1:A5,B1:B5)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


I am looking for a formula that will compare 2 values and select the
greater (or, in some cases, the lesser) of the 2 values...I have used
things like =If(a1>d1,a1,d1) etc etc but wonder if there is something
that is a bit more flexible...??.....any suggestions, anyone?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top