Data Vlidation seems simple

L

Lee

Hi to all
I am trying to limit the value entered in A2 to be < = to A1 (the value in A1 comes from a lookup function). In data validation I choose Custom and enter the formula <=A1. I cant enter any value < or > A1. What am I doing wrong
Thanks
 
F

Frank Kabel

Hi
-select cell A2
- enter the following formula in the data validation dialog
=A2<=A1
 
L

Lee

Thanks! That got it there was existing Validation int he cell I had to delete it before it would work. Followup question...When I enter the Error Alert, is there any way to reference the value in A1. For instance, If A1 =100 the mesage would say....This value should be less than or equla to 100
Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top