*Don't* individually enter your "allow" criteria in the 'Source' box!
Instead, create an allowed list in an out-of-the-way section of your sheet,
and then refer to that list range in the 'Source' box.
For example:
Z1 = Yes
Z2 = No
In the 'Source' box, enter"
=Z1:Z2
NOW,
"Yes"
is allowed,
And
"Yes "
is NOT.
You could also assign a name to that allowed list, same as if you wanted to
place that list on another sheet.
Select Z1 to Z2,
Click in the 'Name' box,
Type a short name. such as "List" (no quotes),
Hit <Enter>
Then, in the 'Source' box, enter:
=list
And you'll have the same protection against <Spaces>.
--
HTH,
RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================
"Duncan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Bob,
thats a great solution, I will bear it in mind for future use and i
have changed most of my formulas to include it now.
I still wonder, does anyone know why it will allow a space in the list?
surely it should pop up as a disallowed value?
anyway, its working great now thanks to Bob.
Many thanks again
Duncan
(my formula now looks like
=SUMPRODUCT(--(LEFT(data!G2:G65536,3)="yes"),--(data!H2:H65536)) in
case it might be helpful to anyone)
|