#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Validating cells

I have a daily threshold for vaction hours in cell C23. My data input
range per employee is G23 to R23. I want to ensure that excel will not
allow me to input a value in G23 to R23 if it is more than C23. How
can I get excel to lock the cells G23 to R23 and show an warning
message if I try to enter a value greater than C23.

Many thanks

WJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Validating cells

Select G23 to R23.
From the Menu Bar,
<Data <Validation
Under the "Settings" tab,
Expand the "Allow" window and click on "Custom".
In the "Formula" window, enter:
=G23<=$C$23
Then <OK.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

wrote in message
...
I have a daily threshold for vaction hours in cell C23. My data input
range per employee is G23 to R23. I want to ensure that excel will not
allow me to input a value in G23 to R23 if it is more than C23. How
can I get excel to lock the cells G23 to R23 and show an warning
message if I try to enter a value greater than C23.

Many thanks

WJ


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
validating Philashley Excel Discussion (Misc queries) 2 March 13th 08 03:54 PM
validating cells in the same row has unique values Volkan Akyuz Excel Worksheet Functions 2 August 22nd 06 11:01 AM
Validating non-blank cells in workbook cboyko Excel Worksheet Functions 1 April 12th 06 07:55 PM
Validating non-blank cells in Excel 'form' cboyko Excel Discussion (Misc queries) 2 April 12th 06 07:20 PM
Validating cells Kevin Excel Discussion (Misc queries) 1 February 2nd 06 06:04 PM


All times are GMT +1. The time now is 09:00 AM.

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

About Us

"It's about Microsoft Excel"