Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data Validation

I have read through MANY of the posts on here and haven't seemed to find an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would like a
validation box to pop up if the user skips the description box and fills out
the information below it. Can this be done? I have tried ISBLANK, and a few
"" formulas and am having NO luck.
Thanks in advance :)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data Validation

You don't put the validation on the "description cell" itself, you put it on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4 (so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address (absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to find an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would like
a
validation box to pop up if the user skips the description box and fills
out
the information below it. Can this be done? I have tried ISBLANK, and a
few
"" formulas and am having NO luck.
Thanks in advance :)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data Validation

I tried that, however, it gives me the validation error even if there is text
in the cell. Another thing that might be causing the problem is, the cells
are merged. (A12:I13)
I put the validation code in cells A17:20. I am not sure what it is I am
doing wrong
:(
Thanks


"Rick Rothstein (MVP - VB)" wrote:

You don't put the validation on the "description cell" itself, you put it on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4 (so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address (absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to find an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would like
a
validation box to pop up if the user skips the description box and fills
out
the information below it. Can this be done? I have tried ISBLANK, and a
few
"" formulas and am having NO luck.
Thanks in advance :)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data Validation

Merged cells? Bingo! I don't work with merged cells myself, but the word is
they are the cause of untold problems. Since the formula I posted works for
me using no merged cells, and not for you with your merged cells, I'd have
to say that is what is causing the formula not to work.

Rick


"frustratedwthis" wrote in
message ...
I tried that, however, it gives me the validation error even if there is
text
in the cell. Another thing that might be causing the problem is, the
cells
are merged. (A12:I13)
I put the validation code in cells A17:20. I am not sure what it is I am
doing wrong
:(
Thanks


"Rick Rothstein (MVP - VB)" wrote:

You don't put the validation on the "description cell" itself, you put it
on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4 (so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address
(absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to find
an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would
like
a
validation box to pop up if the user skips the description box and
fills
out
the information below it. Can this be done? I have tried ISBLANK, and
a
few
"" formulas and am having NO luck.
Thanks in advance :)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data Validation

I unmerged my cells and still a no go. I have no idea what I am doing wrong.
Thank you for all your help!

"Rick Rothstein (MVP - VB)" wrote:

Merged cells? Bingo! I don't work with merged cells myself, but the word is
they are the cause of untold problems. Since the formula I posted works for
me using no merged cells, and not for you with your merged cells, I'd have
to say that is what is causing the formula not to work.

Rick


"frustratedwthis" wrote in
message ...
I tried that, however, it gives me the validation error even if there is
text
in the cell. Another thing that might be causing the problem is, the
cells
are merged. (A12:I13)
I put the validation code in cells A17:20. I am not sure what it is I am
doing wrong
:(
Thanks


"Rick Rothstein (MVP - VB)" wrote:

You don't put the validation on the "description cell" itself, you put it
on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4 (so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address
(absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to find
an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would
like
a
validation box to pop up if the user skips the description box and
fills
out
the information below it. Can this be done? I have tried ISBLANK, and
a
few
"" formulas and am having NO luck.
Thanks in advance :)







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data Validation

I'm not sure what cells you had merged together nor what cells are now in
use after you unmerged them. What is your layout now; that is, where is your
"description cell" located? Also, if you set up the formula while your cells
were merged, I'm guess it got screwed up when you unmerged the cells, so you
may have to re-select the range of cells you want to have the validation and
re-apply the validation formula.

Rick


"frustratedwthis" wrote in
message ...
I unmerged my cells and still a no go. I have no idea what I am doing
wrong.
Thank you for all your help!

"Rick Rothstein (MVP - VB)" wrote:

Merged cells? Bingo! I don't work with merged cells myself, but the word
is
they are the cause of untold problems. Since the formula I posted works
for
me using no merged cells, and not for you with your merged cells, I'd
have
to say that is what is causing the formula not to work.

Rick


"frustratedwthis" wrote in
message ...
I tried that, however, it gives me the validation error even if there is
text
in the cell. Another thing that might be causing the problem is, the
cells
are merged. (A12:I13)
I put the validation code in cells A17:20. I am not sure what it is I
am
doing wrong
:(
Thanks


"Rick Rothstein (MVP - VB)" wrote:

You don't put the validation on the "description cell" itself, you put
it
on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4
(so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address
(absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to
find
an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would
like
a
validation box to pop up if the user skips the description box and
fills
out
the information below it. Can this be done? I have tried ISBLANK,
and
a
few
"" formulas and am having NO luck.
Thanks in advance :)






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Data Validation

Cells A12:I13 are merged so that the user can key in a description using text
and #'s if necessary. Without the cells being merged, the description would
be in A12.
I am putting the data validation formula in cells A17:A20. In these cells,
you put an "X" to choose a corresponding goal. I would like to set it up
where they can't choose a corresponding goal without a description.
Again, thank you for your help :)

"Rick Rothstein (MVP - VB)" wrote:

I'm not sure what cells you had merged together nor what cells are now in
use after you unmerged them. What is your layout now; that is, where is your
"description cell" located? Also, if you set up the formula while your cells
were merged, I'm guess it got screwed up when you unmerged the cells, so you
may have to re-select the range of cells you want to have the validation and
re-apply the validation formula.

Rick


"frustratedwthis" wrote in
message ...
I unmerged my cells and still a no go. I have no idea what I am doing
wrong.
Thank you for all your help!

"Rick Rothstein (MVP - VB)" wrote:

Merged cells? Bingo! I don't work with merged cells myself, but the word
is
they are the cause of untold problems. Since the formula I posted works
for
me using no merged cells, and not for you with your merged cells, I'd
have
to say that is what is causing the formula not to work.

Rick


"frustratedwthis" wrote in
message ...
I tried that, however, it gives me the validation error even if there is
text
in the cell. Another thing that might be causing the problem is, the
cells
are merged. (A12:I13)
I put the validation code in cells A17:20. I am not sure what it is I
am
doing wrong
:(
Thanks


"Rick Rothstein (MVP - VB)" wrote:

You don't put the validation on the "description cell" itself, you put
it
on
the cells below it that you don't want to allow an entry in if the
"description cell" is blank. For example, if B3 is the address of your
"description cell", then select the cells below it, starting with B4
(so
that B4 remains the active cell) and put this Custom formula in the
Data/Validation for that selection...

=LEN(OFFSET(B$4,-1,0))0

Just make sure you replace my example B$4 address with the address
(absolute
row) for the active cell in your selection.

Rick


"frustratedwthis" wrote in
message ...
I have read through MANY of the posts on here and haven't seemed to
find
an
answer(and if I overlooked it, sorry!)
I am trying to put data validation on a "description" cell. I would
like
a
validation box to pop up if the user skips the description box and
fills
out
the information below it. Can this be done? I have tried ISBLANK,
and
a
few
"" formulas and am having NO luck.
Thanks in advance :)







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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 08:12 PM.

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"