+ Reply to Thread
Results 1 to 4 of 4

Putting a cap on a figure entered in a cell

  1. #1
    Registered User
    Join Date
    03-22-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    10

    Putting a cap on a figure entered in a cell

    I have a cell where I want a ceiling placed on the figure which can be entered (say 14000). If any larger figure of 14001 upwards is entered I would like a statement to display in the cell such as 'not applicable'. Any ideas please?

    This cell (we can call it A1) is also linked to other cells with formula attached. One of the other cells (A2) contains a formula. Is there any way that I can add something to the formula already in place that will result in the figure in A1 being ignored if 14001 or more is entered - the formula currently used in A2 is
    =6000/(A1-B1)

    Any help would be gratefully received!

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Putting a cap on a figure entered in a cell

    Have a look at Data Validation for A1

    Allow Whole Number / Decimal, max/min limits.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Putting a cap on a figure entered in a cell

    Perhaps.??

    =if(a1>14001,"",6000/(A1-B1))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    03-22-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Putting a cap on a figure entered in a cell

    Thanks for the advice, data validation appears to be the answer.
    The formula keeps returning a 'circular reference error' message. Perhaps I didn't explain properly - I just need to stop any figure above 14000 being entered in A1 and other cells that use cell A1 in effect 'feed' off the number that is entered. Sorry but my experience of excel is very limited, but you guys are a great help!

+ 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