Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default maximum/minimum value in formula

Hey,

can someone help me with this issue.
i would like to add a minimum and maximum value to a excisting formula
example:
-value is 100 euros as result of a formula. and is also the maximum value(80
is the minimum value)
-this is value should never be more than 20(100euro)% or less than 10(80euro)%

hope this makes any sence...

thanks for your reply!

Best regards,
Tim.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default maximum/minimum value in formula

Is this what you want

=MIN(MAX(your_existing_formula,80),100)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Tim G." <Tim wrote in message
...
Hey,

can someone help me with this issue.
i would like to add a minimum and maximum value to a excisting formula
example:
-value is 100 euros as result of a formula. and is also the maximum

value(80
is the minimum value)
-this is value should never be more than 20(100euro)% or less than

10(80euro)%

hope this makes any sence...

thanks for your reply!

Best regards,
Tim.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default maximum/minimum value in formula

Or equivalently:

=MEDIAN(your_existing_formula,80,100)

Tim G. wrote:
Hey,

can someone help me with this issue.
i would like to add a minimum and maximum value to a excisting formula
example:
-value is 100 euros as result of a formula. and is also the maximum value(80
is the minimum value)
-this is value should never be more than 20(100euro)% or less than 10(80euro)%

hope this makes any sence...

thanks for your reply!

Best regards,
Tim.


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 08:27 PM.

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

About Us

"It's about Microsoft Excel"