Data validation possibility

mdileep

Board Regular
Joined
Dec 8, 2019
Messages
54
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
In cell range L6 to L12 I want to fill value between 220 to 250 or wrote text as NA.
is it possible by data validation in excel-2007.
Thanks!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
i dont know 2007 that well, any longer, been a while since used

Select L6 to L12 in data validation
Custom
Put this formula
=OR(L6="NA",AND(L6>=220,L6<=250))
I have put for view the formula also in column N
Book15
KLMN
5
6220TRUE
7250TRUE
8NATRUE
9FALSE
10FALSE
11FALSE
12FALSE
13
14
Sheet1
Cell Formulas
RangeFormula
N6:N12N6=OR(L6="NA",AND(L6>=220,L6<=250))
Cells with Data Validation
CellAllowCriteria
L6:L12Custom=OR(L6="NA",AND(L6>=220,L6<=250))
 
Upvote 0
i dont know 2007 that well, any longer, been a while since used

Select L6 to L12 in data validation
Custom
Put this formula
=OR(L6="NA",AND(L6>=220,L6<=250))
I have put for view the formula also in column N
Book15
KLMN
5
6220TRUE
7250TRUE
8NATRUE
9FALSE
10FALSE
11FALSE
12FALSE
13
14
Sheet1
Cell Formulas
RangeFormula
N6:N12N6=OR(L6="NA",AND(L6>=220,L6<=250))
Cells with Data Validation
CellAllowCriteria
L6:L12Custom=OR(L6="NA",AND(L6>=220,L6<=250))
Thank you for early reply,
how is it possible to allow any text instead of NA, in same range
Thanks again.
 
Upvote 0
Again, not looked into 2007
ISTEXT()
=OR(ISTEXT(L6),AND(L6>=220,L6<=250))
 
Upvote 0

Forum statistics

Threads
1,214,797
Messages
6,121,629
Members
449,041
Latest member
Postman24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top