You should not need VBA to do this. If you put your formula in before
applying the validation you should be all set. The formula can evaluate to
anything you want and does not have to match the validation list output.
If you already have the validation set and need to enter the formula (or
edit it) turn off the error alert (or set it to Style:Information) and make
your formula changes. After you enter the formula you can turn the error
alert back on (or reset the Style).
--
If this helps, please remember to click yes.
"Neon520" wrote:
Hi everyone,
I know that this is possible but I'm not sure how to accomplish this.
In column E, I have a list of zip code.
In column I, I have the "Priority" category.
Priority will be based on the zip code in column E. This will be
accomplished by VLookUp formula, where I will have a separate sheet store all
the zip codes and the priorities (ie. Priority #1, Priority #2 and so on).
The challenge part is that column I "Priority" column needs to be able to
use as a Drop Down List as well, in case that the VLookUp formula needs to be
overridden for someone who doesn't follow the zip code Vlookup formula.
With Drop Down List setting in Data Validation, I know that it won't allow
and formula, which mean only one thing and not the other.
I know that this can be accomplished with VB, but I'm not sure how. Please
help!
Also, could you tell me where to put the code as well?
Thank you,
Neon520