ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Less than Greater than function (https://www.excelbanter.com/excel-worksheet-functions/16193-less-than-greater-than-function.html)

GreenMonster

Less than Greater than function
 
I'm trying to determine the lesser value of three seperate cells, and then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks

Peo Sjoblom

Assume the 3 cells are A1, A2 and A3

=INT(MIN(A1:A3))

--

Regards,

Peo Sjoblom


"GreenMonster" wrote in message
...
I'm trying to determine the lesser value of three seperate cells, and then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks




Niek Otten

=MIN(A1:A3)-(3/8)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"GreenMonster" wrote in message
...
I'm trying to determine the lesser value of three seperate cells, and then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks




Kent Prokopy

Try this:
=MIN(A1:A3)

"GreenMonster" wrote:

I'm trying to determine the lesser value of three seperate cells, and then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks


GreenMonster

yo da man! Thanks...now I feel stupid.

"Niek Otten" wrote:

=MIN(A1:A3)-(3/8)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"GreenMonster" wrote in message
...
I'm trying to determine the lesser value of three seperate cells, and then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks





Peo Sjoblom

Just a question if cell 2 held 51 1/8 instead, would you still want to
subtract 3/8? If you always want to
the integer of the smallest value then you should use

=INT(MIN(A1:A3))


--

Regards,

Peo Sjoblom


"GreenMonster" wrote in message
...
yo da man! Thanks...now I feel stupid.

"Niek Otten" wrote:

=MIN(A1:A3)-(3/8)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"GreenMonster" wrote in message
...
I'm trying to determine the lesser value of three seperate cells, and

then
subtract 3/8 from that value.

Example:
Cell 1 = 51 1/2
Cell 2 = 51 3/8
Cell 3 = 51 5/8

the function would determine that Cell 2 is the lesser of the three
therefore returning of 51 3/8 - 3/8 = 51.

Please help

Thanks







crossingmind

If you simply want to compare these three numbers, the simplest way to
do is to calculate in mind. You see, 51 3/8 and 51 5/8, both of them
have the same denominator. So what you can do is to mutiply 4 to the
denominator of 51 1/2, and you will get 4/8. Then you simply need to
compare 4/8, 3/8 and 5/8. Then it is so obvious the number with 3/8 is
the smallest. It only takes a second to do it in mind. Of coz when you
have more complicated numbers, excel can be faster than us.


crossingmind

I am sorry. I think I got wrong with your question. Your purpose is not
to compare. Please discard my post.



All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com