ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   =min =max (https://www.excelbanter.com/new-users-excel/449052-%3Dmin-%3Dmax.html)

Sneibel

=min =max
 
=MIN(5,O19*0.1)

I need this to also function as a =MAX (1,O19*0.1)

I need to multiply the $ amount in O19 by 0.1 but if that number, when multiplied, is greater than $5 I need it to default to $5 and if it is less than $1 I need it to default to $1.

Any help would be much appreciated, I am extremely new to excel.

Thanks so much in advance!

Claus Busch

=min =max
 
Hi,

Am Fri, 26 Jul 2013 07:39:53 +0100 schrieb Sneibel:

=MIN(5,O19*0.1)

I need this to also function as a =MAX (1,O19*0.1)


try:
=MIN(MAX(O19*0.1,1),5)


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


All times are GMT +1. The time now is 01:08 AM.

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