+ Reply to Thread
Results 1 to 3 of 3

locking and unlock a number created by a formula

  1. #1
    Registered User
    Join Date
    04-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    83

    locking and unlock a number created by a formula

    I am working on a ranking workbook. At the beginning of the season I rank a hole bunch of in information on a sheet. Once there ranked I want to lock in those number until the next year when I want to rank them again. How can I make this happen.

    Thanks in advanced.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: locking and unlock a number created by a formula

    Perhaps a copy and paste special values somewhere else?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: locking and unlock a number created by a formula

    Formulas are not static, they calculate each time the sheet or workbook is calculated. If the result is the same, you perceive no change.

    You can either turn off automatic calculation in which case the entire workbook doesnt update any formula until you manually update calculations (or if you have it set to calc on open/close) or you can do the other recommendation of replacing the formulas with the results via paste special. Paste special over the formulas removes them, leaving you with static results.

    A third alternative is copy the results out to another sheet/workbook using paste special. Then you have a copy thats easy to update and a static copy that doesnt change.

    A fourth more complex option I do NOT recommend is you could use VBA. Have a macro do the ranking and store the result (instead of the formula) in the cells on sheet. In this fashion it only updates when you run the code. It however will require saving as a macro, enabling macros, running the macro, fixing the macro when (not if) it breaks, etc.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

+ 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. Locking macro asks for password to unlock
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2017, 01:49 PM
  2. Store worksheet settings, unlock worksheets when object is created, lock when destroyed
    By OldManExcellor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2016, 03:01 AM
  3. IF AND Formula for range created...Why is decimal number not recognized
    By jste123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2014, 03:46 PM
  4. Replies: 1
    Last Post: 02-17-2014, 02:28 AM
  5. Locking an unlock cell when exiting
    By careso in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-23-2009, 12:22 PM
  6. [SOLVED] locking formula in cells in without locking whole sheet
    By SuziQ in forum Excel General
    Replies: 1
    Last Post: 07-21-2006, 11:05 AM
  7. Replies: 0
    Last Post: 04-26-2005, 11:06 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