#1   Report Post  
Junior Member
 
Posts: 1
Smile =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!
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,872
Default =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
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



All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"