+ Reply to Thread
Results 1 to 3 of 3

Minimum / Maximum Value

  1. #1
    Registered User
    Join Date
    08-02-2023
    Location
    Midland, Tx
    MS-Off Ver
    365
    Posts
    1

    Minimum / Maximum Value

    How do I go about setting a minimum value and a maximum value for a cell? Example C17*3. I can easily do that but I want the minimum to come out to 12 and the maximum not to exceed 52. So if I have 20 in C17 and the total is 60 I want it to display 52. If I have I hope all of this is making sense. Let me know what your thoughts are on this.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Minimum / Maximum Value

    Pl read yellow banner on top.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Minimum / Maximum Value

    You can use this formula:

    =MAX(12,MIN(52,C17*3))

    Hope this helps.

    Pete

+ 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. Set a minimum and maximum
    By kwentanio in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-13-2020, 05:22 PM
  2. [SOLVED] maximum and minimum with cell value
    By miso.dca in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-21-2018, 09:46 AM
  3. Minimum and maximum IF help
    By Dawndinosaur in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2016, 12:58 AM
  4. maximum / minimum in solver
    By ruecel in forum Excel General
    Replies: 3
    Last Post: 09-02-2015, 08:08 AM
  5. Minimum and maximum
    By ikke88 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-06-2015, 04:09 AM
  6. [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
  7. Maximum and Minimum
    By lurchybold in forum Excel General
    Replies: 6
    Last Post: 10-13-2010, 11:04 AM

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