Protect Worksheet Structure with Array Formulas

July 31, 2009 by datapig Leave a reply »

In the another display of passive aggressive behavior, I want to show you a trick you can use to prevent anyone from adding or deleting rows or columns by using a simple array formula. 

I’m pretty sure I got this trick from Bob Umlas.  Most Bob tricks, they are extremely cool, but I never seem to find situations where I can use them.  But, maybe this trick will hit the spot for some of you.

.
.

Step 1:  Highlight the rows where you don’t rows added or deleted. 

Type =”"

Press Shift+Ctrl+Enter to apply the array.

protectwitharray1

.
.

Step 2:  Highlight the columns where you don’t rows added or deleted. 

Type =”"

Press Shift+Ctrl+Enter to apply the array.

protectwitharray2

.
.

Step 3: Hide the array formulas along with anything else you don’t want your users to see.

When your users try to add or delete a column or row in the protected area, they’ll get a face full of error message.

protectwitharray3

.
.

I think this would be useful if you didn’t want apply sheet protection but still wanted to prevent structural changes.  Although – I can’t think of any reason why you would stay away from sheet protection.

What do you think?

RELATED STUFF

  1. Using Arrows to Edit a Named Range
  2. Outta My Way Formula Thingy!
  3. Zoom into Spreadsheet on Double-Click
  4. Find and Highlight Specific Values
  5. Choosing Quarters in Excel
  6. Creating Subtotals on Many Columns
  7. Creating a Frequency Distribution with a Pivot Table
  8. Lazy Alternate Shading
  9. Limiting Movement within Your Worksheet
  10. Filter on Selection in Excel
Advertisement

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>