A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Validation Formula only worked once.



 
 
Thread Tools Display Modes
  #1  
Old October 12th, 2008, 11:22 PM posted to microsoft.public.excel.worksheet.functions
Rick Arends
external usenet poster
 
Posts: 6
Default Validation Formula only worked once.

I have a drop down list in cell B40. In the validation I wrote
=If(A40="","",FORTYB) where "FORTYB" is the name of a list. It worked
perfectly, only filling the list if cell 40A had data in it. I then tried to
enter the same format in B41 and it gave me an error something to the effect
of needing a delimited list. I copied the workbook and tried to redo the same
thing I had done in the original A40. Could someone tell me what I have done
wrong? I don't even know that it was supposed to work in the first place!
  #2  
Old October 13th, 2008, 03:28 AM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Validation Formula only worked once.

It will work using the formula you tried *if* instead of manually going
through the process again to set the validation for B41 do it like this:

Select cell B40
Goto EditCopy
Select cell B41
Goto EditPaste SpecialValidationOK

If A41 is empty you won't see any selections in the drop down list in B41.

--
Biff
Microsoft Excel MVP


"Rick Arends" wrote in message
...
I have a drop down list in cell B40. In the validation I wrote
=If(A40="","",FORTYB) where "FORTYB" is the name of a list. It worked
perfectly, only filling the list if cell 40A had data in it. I then tried
to
enter the same format in B41 and it gave me an error something to the
effect
of needing a delimited list. I copied the workbook and tried to redo the
same
thing I had done in the original A40. Could someone tell me what I have
done
wrong? I don't even know that it was supposed to work in the first place!



  #3  
Old October 13th, 2008, 10:54 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default Validation Formula only worked once.

Think the key sequence that probably happened (when you created the DV in
B40) was that A40 already contained something (it wasn't blank). That's why
you didn't get any error msg. But when you tried to do the same thing, ie
create the DV in B41 via repeating the DataValidation steps, "unfortunately"
A41 was empty, so Excel resolutely threw you the error.

Once you create the 1st DV in B40 (well, you know now how to get it started
- put something into A40), think you could just drag B40 down to propagate
the DVs as desired.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,000 Files:362 Subscribers:61
xdemechanik
---
"Rick Arends" wrote:
I have a drop down list in cell B40. In the validation I wrote
=If(A40="","",FORTYB) where "FORTYB" is the name of a list. It worked
perfectly, only filling the list if cell 40A had data in it. I then tried to
enter the same format in B41 and it gave me an error something to the effect
of needing a delimited list. I copied the workbook and tried to redo the same
thing I had done in the original A40. Could someone tell me what I have done
wrong? I don't even know that it was supposed to work in the first place!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:34 PM.


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