+ Reply to Thread
Results 1 to 9 of 9

Minimum and maximum

  1. #1
    Registered User
    Join Date
    06-06-2015
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    5

    Minimum and maximum

    Can you help me,

    I wish to make a formula for example B2*B3 but I want to lower out come as 1 and no higher as 5.

    How can I do this?

    Kind Regards.

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Minimum and maximum

    Hi Ikke,

    I don't understand what you mean - please give more detail.

    David

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Minimum and maximum

    here, use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-06-2015
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Minimum and maximum

    David,

    thank you for your replay.

    Maybe like this it's more clear:
    B2 is a formula of 2 dates > June 10 - June 6 = 4
    each day i want 0,5 so the calculation is = 4*0,5=2
    But when the calculation = 1*0,5=0,5 i want a minimum of 1,
    or when the calculation = 13*0,5= 6,5 i want a maximum of 5.

    does that make any sense?

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Minimum and maximum

    Hi there... and welcome to the Excel Forum. Use this:

    =MIN(MAX(1,B2*B3),5)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Minimum and maximum

    Guess who forgot to refresh before posting??? I'm still half asleep!!

  7. #7
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Minimum and maximum

    Thanks, I won't add to zbor or Glenn

  8. #8
    Registered User
    Join Date
    06-06-2015
    Location
    Amsterdam
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Minimum and maximum

    Dear All,

    Thank you for welcome me, and help me fixing the first formula.

    How can i confirm that i have the answer?

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Minimum and maximum

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Maximum and Minimum between two dates
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2015, 01:26 AM
  2. Color maximum and Minimum
    By thong127 in forum Excel General
    Replies: 6
    Last Post: 01-09-2014, 11:20 AM
  3. [SOLVED] Sum minus up to a maximum and a minimum
    By Rompetelo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 03:58 AM
  4. Maximum and Minimum
    By lurchybold in forum Excel General
    Replies: 6
    Last Post: 10-13-2010, 11:04 AM
  5. Maximum and minimum cell value
    By sharkfoot in forum Excel General
    Replies: 3
    Last Post: 03-05-2006, 07:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1