+ Reply to Thread
Results 1 to 7 of 7

Set a minimum value on a cell

  1. #1
    Forum Contributor PY_'s Avatar
    Join Date
    09-23-2008
    Location
    Houston
    MS-Off Ver
    Office 2016
    Posts
    289

    Set a minimum value on a cell

    Is there a way to set a minimum value on a cell?

    A1 + B1 = C1

    I want the minimum value to be 10. After it reaches 10, it would just add up the numbers like normal.

    Examples:
    2 + 2 = 10
    5 + 4 = 10
    4 + 6 = 10
    5 + 6 = 11
    6 + 6 = 12

    Something like that.
    Last edited by PY_; 07-27-2010 at 05:34 PM.

  2. #2
    Registered User
    Join Date
    05-26-2006
    Posts
    20

    Re: Set a minimum value on a cell

    =if(a14+b14<10,10,a14+b14)

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Set a minimum value on a cell

    Or =MAX(A1+B1, 10)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor PY_'s Avatar
    Join Date
    09-23-2008
    Location
    Houston
    MS-Off Ver
    Office 2016
    Posts
    289

    Re: Set a minimum value on a cell

    Thanks to both of you!

  5. #5
    Registered User
    Join Date
    05-18-2017
    Location
    Queretaro, Mexico
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Set a minimum value on a cell

    Looking for something similar, struggling to get it working

    Refractory.JPG

    Cell B5 input of the diameter in centimeter
    Cell B12 needs to have two minimum values

    Optimum is 10% of Cell B5, with a minimum of 10 cm.

    Cell B8 is filled with the thickness required by the user, let's say they fill 8 cm
    B12 needs to show the optimum solution.

    Thanks guys
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    06-12-2018
    Location
    Luanda
    MS-Off Ver
    2010
    Posts
    1

    Re: Set a minimum value on a cell

    Quote Originally Posted by shg View Post
    Or =MAX(A1+B1, 10)
    Still not working. is there any other way

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Set a minimum value on a cell

    Heitor2018 welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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