Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default How to lock and unlock a cell using formulas in excel

1. I am trying to lock & unlock a cell depending upon a change in value of
the other cell.

2.Is there any way that we can desplay a user message or a error message if
a condition is not meet.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How to lock and unlock a cell using formulas in excel

Use Data Validation:

Let's say the largest value we want in B1 is 100 and we do not want A1
changed if B1 is equal to or greater than 100.

Click on A1 and:

Data Validation... Custom Formula
=B1<100

Note that this will work even if A1 and B1 are not directly related.
--
Gary''s Student - gsnu200780


"Ridhi" wrote:

1. I am trying to lock & unlock a cell depending upon a change in value of
the other cell.

2.Is there any way that we can desplay a user message or a error message if
a condition is not meet.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Check Box to Lock/Unlock Cells [email protected] Excel Discussion (Misc queries) 3 April 27th 23 11:43 AM
Lock/Unlock cells BFife Excel Worksheet Functions 2 October 25th 06 03:20 PM
I FORGOT MY PASSWORD AND THE EXCEL SHEET IS LOCK HOW CAN I UNLOCK Asaf Excel Discussion (Misc queries) 1 October 4th 06 02:50 AM
Lock or Unlock cell references in a formula for auto fill purposes David P. Excel Discussion (Misc queries) 2 June 6th 05 11:18 PM
Lock and Unlock cells using VBA Peter Excel Discussion (Misc queries) 1 January 29th 05 02:00 PM


All times are GMT +1. The time now is 11:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"