Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default User must enter something in a range of cells

A student asked this question recently and I couldn't figure it out.
We were doing data validation and they asked if there is a way to require
that a cell have information entered in it and it can't be left blank.
I tried several options but couldn't get it to work.
Any suggestions using data validation and/or any other Excel features?
Thanks for any suggestions!
Jugglertwo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default User must enter something in a range of cells

Data Validation wouldn't really work, as it is only really triggered by
entering data. It could be made to work if the user cleared it out, but if
they just left it blank, it never gets invoked.

The best way would be to use the workbook_BeforeClose event to test the cell
and cancel the close if blank.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jugglertwo" wrote in message
...
A student asked this question recently and I couldn't figure it out.
We were doing data validation and they asked if there is a way to require
that a cell have information entered in it and it can't be left blank.
I tried several options but couldn't get it to work.
Any suggestions using data validation and/or any other Excel features?
Thanks for any suggestions!
Jugglertwo



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,327
Default User must enter something in a range of cells

Hi Jugglertwo

There is no way to require anything with a computer unless you have power
over the user. "If this isn't filled out by noon then you're fired" works
well. "I found some interesting image files in your Temporary Internet Files
folder, shall I forward them ?" is a thing I think software can do to
threaten workers.

For ordinary spreadsheets you can ensure that this sort and that subtotal
doesn't happen unless this cell entry and that dropdown is in place. But
that's rarely a threat. Annoy the user sufficiently, it takes far less time
than we think, and she'll Ctrl Alt Delete her way out of Excel and your
application has been ran for the last time. Answer is definitely no.

HTH. Best wishes Harald

"Jugglertwo" skrev i melding
...
A student asked this question recently and I couldn't figure it out.
We were doing data validation and they asked if there is a way to require
that a cell have information entered in it and it can't be left blank.
I tried several options but couldn't get it to work.
Any suggestions using data validation and/or any other Excel features?
Thanks for any suggestions!
Jugglertwo



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default User must enter something in a range of cells

I've found just putting up a warning in an adjacent cell is enough of a reminder
for most people.

=if(a1<"","","<-- Please fill in this cell!")



Jugglertwo wrote:

A student asked this question recently and I couldn't figure it out.
We were doing data validation and they asked if there is a way to require
that a cell have information entered in it and it can't be left blank.
I tried several options but couldn't get it to work.
Any suggestions using data validation and/or any other Excel features?
Thanks for any suggestions!
Jugglertwo


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default User must enter something in a range of cells

Thanks to all three of you for responding to my question.
I now know how to answer the student's question and apply this information
in the future.
Thanks again!
Jugglertwo

"Dave Peterson" wrote:

I've found just putting up a warning in an adjacent cell is enough of a reminder
for most people.

=if(a1<"","","<-- Please fill in this cell!")



Jugglertwo wrote:

A student asked this question recently and I couldn't figure it out.
We were doing data validation and they asked if there is a way to require
that a cell have information entered in it and it can't be left blank.
I tried several options but couldn't get it to work.
Any suggestions using data validation and/or any other Excel features?
Thanks for any suggestions!
Jugglertwo


--

Dave Peterson



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
How do I define a range using values in cells? Matthieu de Wit Excel Worksheet Functions 2 April 26th 06 09:43 PM
UDF is updateing cells on another sheet with count from current sheet. John Excel Discussion (Misc queries) 3 March 20th 06 03:58 PM
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM


All times are GMT +1. The time now is 05:55 AM.

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"