Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Locking cell if sum of other cells is 0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elfego Baca - 23 Jan 2007 02:52 GMT
I would like cells G5,H5,I5, J5, K5, L5, M5, and N5 to be locked until
the sum of E5+F5 is greater than 0. I would like to do this for all rows
in the worksheet.
Joerg - 23 Jan 2007 03:48 GMT
In this case you could use conditional formatting:
Go to cell G5
From the menu choose Data => Validation
Validation criteria:Custom
"Ignore blank" checkbox: Unchecked (!)
Formula: =($E5+$F5)>0

Choose the "Error alert" tab and into Title field put something like "Input
restricted", into Error message field something like "The total of column E
and F must be > 0 before you can input data here!"

Push OK

Now G5 is "locked" (no input possible) unless the sum of E5+F5 is greater
than 0.
Copy G5 up to N5 and down as may rows as needed.

Cheers

Joerg Mochikun

> I would like cells G5,H5,I5, J5, K5, L5, M5, and N5 to be locked until
> the sum of E5+F5 is greater than 0. I would like to do this for all rows
> in the worksheet.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.