#1   Report Post  
Old July 26th 13, 07:39 AM
Junior Member
 
First recorded activity by ExcelBanter: Jul 2013
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  
Old July 26th 13, 08:02 AM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2011
Posts: 3,685
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 10:12 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017