How do I...?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

(In XL 2003)

I have a cell that is validated to only contain any of the numbers 1 through
5.

What I want is to have another cell that will only accepts a range of
numbers based on the value in cell 1:
A
1<can only contain 1,2,3,4 or 5>

3<if A1=1, then this cell can only contain 0.01 through 0.20; if A1= 2, this
cell can only contain 0.21 through 0.40 etc.etc.>

I have tried putting a vlookup in the cell validation formula but this
doesn't seem to want to work.

Any suggestions would be much appreciated.

TIA

Dave
 
Try a custom Validation formula of:


=AND(A3>((A1*2)-1)/10,A3<(A1*2)/10)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
Back
Top