+ Reply to Thread
Results 1 to 6 of 6

How to drag down a formula in a protected worksheet

  1. #1
    Forum Contributor
    Join Date
    01-14-2011
    Location
    New York City, USA
    MS-Off Ver
    Excel 2010
    Posts
    194

    How to drag down a formula in a protected worksheet

    Hello,

    How can I lock a column so that user can't edit anything in in BUT can drag down a formula which will populate using helper columns to the left?

    Thanks,

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: How to drag down a formula in a protected worksheet

    What is the formula? And why does it need to be copied by the user?
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Contributor
    Join Date
    01-14-2011
    Location
    New York City, USA
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: How to drag down a formula in a protected worksheet

    Hello. It needs to be copied down because it's doing a concatenate of data to the left of it. I simple don't want users to break the contact formula.

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: How to drag down a formula in a protected worksheet

    One alternative would be to leave the sheet locked, and create a formula that goes down xxx number of cells. For example if the users would be copying the formula down 10 rows every day, put the formula in there for 10,000 rows and it won't nee to be modified for a long time.

    Then use an if condition to determine if the formula will be used, for example;

    =IF(B2="","",[YourFormulaHere])

    (Assuming your formula will be copied when column B has data entered)

  5. #5
    Forum Contributor
    Join Date
    01-14-2011
    Location
    New York City, USA
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: How to drag down a formula in a protected worksheet

    Speshul, thanks I like the way you're thinking. I could just use an IF statement. Just wondering if there's a way to handle through Excel itself.

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: How to drag down a formula in a protected worksheet

    You can protect the Top cell to keep the formula protected, and leave the cells below it. The user will be able to copy from the protected cell without being able to modify the formula in it. However, all of the cells the user copys to will not be protected. but at least you will have a formula locked up incase someone modifies the others.

+ 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. Protected cells and drag-and-drop
    By Angus in forum Excel General
    Replies: 6
    Last Post: 12-02-2019, 05:47 PM
  2. Using Macro to drag down formula on a seperate worksheet
    By unreal_event_horizon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2013, 09:44 AM
  3. Drag down formula referencing another worksheet
    By Benjamonous in forum Excel General
    Replies: 3
    Last Post: 08-22-2011, 04:20 PM
  4. Seconday Worksheet Reference Formula Drag Fill incrementing Issue
    By DavidCharles1224 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2010, 04:05 PM
  5. Disable Cut, Paste, Drag & Drop in Protected Workbook
    By Andrew Stevens in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-06-2005, 11:45 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