ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I set a mimimum quotient value? (https://www.excelbanter.com/excel-worksheet-functions/9484-how-do-i-set-mimimum-quotient-value.html)

Robert

How do I set a mimimum quotient value?
 
Is there a way to set the mimum value at 1 for all quotients?

Example:
A/B=C How do I get C to be a minimum of 1 if the quotient of A/B= less than 1?

Any help is greatly appreciated.

Robert

JE McGimpsey

One way:

=MAX(1, A/B)

In article ,
Robert wrote:

Is there a way to set the mimum value at 1 for all quotients?

Example:
A/B=C How do I get C to be a minimum of 1 if the quotient of A/B= less than 1?

Any help is greatly appreciated.

Robert


Niek Otten

Hi Robert,

=MAX(1,A1/B1)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Robert" wrote in message
...
Is there a way to set the mimum value at 1 for all quotients?

Example:
A/B=C How do I get C to be a minimum of 1 if the quotient of A/B= less
than 1?

Any help is greatly appreciated.

Robert




Patti

Is this what you're looking for:

IF(A1/B1<1,1,A1/B1)


"Robert" wrote:

Is there a way to set the mimum value at 1 for all quotients?

Example:
A/B=C How do I get C to be a minimum of 1 if the quotient of A/B= less than 1?

Any help is greatly appreciated.

Robert


Jason Morin

=MAX(A/B,1)

If you really mean quotient, try:

=MAX(INT(A/B),1)

HTH
Jason
Atlanta, GA

-----Original Message-----
Is there a way to set the mimum value at 1 for all

quotients?

Example:
A/B=C How do I get C to be a minimum of 1 if the

quotient of A/B= less than 1?

Any help is greatly appreciated.

Robert
.



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

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