0

I am not familiar with much excel Syntax and features. But I am trying to add data validations for few cells. So, for a cell if the value entered is between 0 - 100, it should allow to enter the number, if its not between 0-100 it should enter No.

Basically if the entered value is not a numeric number it should allow them to write NO

SO far i managed to get this logic: Lets say I am using cell A1 IF(AND(A1>0,A1<100),"YES","NO")

The problem with this logic is If the condition is satisfied , this will write yes but I want them to write the number, not YES.

Please ask if this doesn't make much sense?Thanks :)

1
  • 1
    A guess: =OR(AND(A1>0,A1<100),A1="NO"). Commented Mar 31, 2022 at 13:14

1 Answer 1

1

So using Data Validation:

enter image description here

Tested with wrong numbers: enter image description here

And you can put the lim its on the sheet as so: enter image description here

BUT has to have absolute referencing to cells C2 & C3

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.