+ Reply to Thread
Results 1 to 4 of 4

Option to switch between formula and manually entered value in a cell.

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    4

    Option to switch between formula and manually entered value in a cell.

    I'd like to use a formula in a cell, but let's say someone has come along and manually entered a value in that cell (and clicked 'Save'), I want to be able to revert that cell back to it's original formula without having to physically re-type the formula in the cell. Is this possible?

    For example: I made a sheet with a bunch of formula's. My manager comes along and changes one of my cells (which contains a formula) to an arbitrary value, e.g. 20. He then saves the file. A few days later he realizes his input of 20 is not as good as the formula's original answer, and wants the formula to do it's job as it did before. How can he do this, without asking me to re-enter the formula manually?

    I basically want to make my sheet dummy-proof. I thought of locking formula's, but that would prevent my manager from making any changes to the formula cell at all. I want the flexibility of allowing him to input values, as well as revert back to the formula, without asking me to re-enter the formula.

    If this is possible - please help! Very much appreciated.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,514

    Re: Option to switch between formula and manually entered value in a cell.

    The way I would do it would be to have a separate "manual override" cell where you manager can enter arbitrary values. Then you can nest your formula into an IF function that will test the manual override and behave accordingly. For example, formula is in C4, and I assign B4 as the manual override. C4 would have a formula like =IF(ISBLANK(B4),your formula,B4). You can now protect C4 so it cannot be edited, and you can teach your manager to enter his arbitrary values in B4 when he wants to use them, and that he can just delete them from B4 to revert back to the original formula.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Option to switch between formula and manually entered value in a cell.

    how complex is the sheet
    can you make the sheet so that those entries can be either blank or a value
    and then use the formula
    =if( cell ="" , your formula , use the number entered)

    i appreciate if he is doing this across a complex sheet , its not going to work - but if its one column or 2 columns hes likely to change
    then a clear would use your formula and data entered would be his
    you then dont need to do anything
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Option to switch between formula and manually entered value in a cell.

    Lock all cells with formulae and text leaving cells with shading unlocked where comments or other entries could be made then protect the worksheet.

    I had people including a boss, who just couldn't leave formulae alone and overwrote them. My only defence was to lock them out of areas where they shouldn't be. I got away with it because I developed the workbooks and was the only Excel resource available to them.

    You might want to experiment with Track Changes found on the Review tab so that you can see what was changed and accept or reject the changes.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 1
    Last Post: 12-22-2013, 04:43 AM
  2. A manually entered cell to automatically update another manually entered cell
    By Head Scratcher in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-29-2013, 08:23 PM
  3. How to make excel formula value act like a manually entered number
    By MOONDRIFT47 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2012, 01:37 PM
  4. Chart only plots if cell value is entered manually
    By Tony Vargo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2009, 12:05 PM
  5. How to update one manually-entered value from another?
    By 1robc57 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-02-2006, 01:10 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