How to SUM in a protected spreadsheet

R

ron

I'm protecting individual spreadsheets by locking certain cells and then
going to tools and doing protection and protect worksheet, but when I do
that, the autosum icon lightens and is inoperable. I only want certain cells
protected and want to be able to use all the icons on the bars (fomating,
bold, autosum) and would like to know how to accomplish that.

Thank you for any assistance.
 
G

Gord Dibben

Many functions become unavailable when sheets are protected.

You can enter a SUM function in an unlocked cell, just can't use the Autosum.

For functions like Bold and other formatting make sure when you protect the
sheet that you have Allow users to "Format cells" enabled.


Gord Dibben MS Excel MVP
 
R

ron

Thanks for the tip on checking formating cells - the bold works. But the
Autosum icon is really what I need to work - people who are not too computer
literate will be using this spreadsheet. I know they can click on a cell,
select fx on the formula bar, hightlight their columns, etc., but am afraid
it will be too complicated for them.
 
G

Gord Dibben

How about you give them a button with a macro assigned?

Sub Sum_Range()
Set rng = Selection
Set rng1 = rng.Offset(rng.Rows.Count, 0).Resize(1, 1)
rng1.Formula = "=Sum(" & rng.Address & ")"
End Sub


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top