Validation Formula?

K

Ken

Excel2003 ...

Need Formula in "Validation" that will allow input of:

Capital Letter "P" and any "whole" number between 1 & 8.

Thanks ... Kha
 
P

Peo Sjoblom

In the allow box select list then use

P,1,2,3,4,5,6,7,8


remove the in cell dropdown


--


Regards,


Peo Sjoblom
 
M

muddan madhu

Suppose u want validation for A1 cell,
Use custom validation and put this formula =OR(EXACT(A1,UPPER("p")),
(A1>=1)*(A1<9))
 
P

Peo Sjoblom

That won't prevent anyone entering 1.5 for instance and the UPPER part is
moot, you can use

EXACT(A1,"P")



--


Regards,


Peo Sjoblom




Suppose u want validation for A1 cell,
Use custom validation and put this formula =OR(EXACT(A1,UPPER("p")),
(A1>=1)*(A1<9))
 
K

Ken

Peo ... (Good morning)

"List" ... P,1,2,3,4,5,6,7,8 ... is also allowing decimals such as 1.5 to be
entered?

Am I missing something? ... Thanks ... Kha
 
K

Ken

Peo ... (Hi)

Ok ... I changed my cell range formatting from "Numbers" to "General" & now
Validation List works as described in your post ... I am certainly not
intimate with Excel so have no clue if this should have made a difference ...
However, it is working now (decimals not allowed) so I am back on the road
again ... :)

Thanks ... Kha
 

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

Similar Threads

DATEDIF? 7
Formula for transposing Row Values to Col Values 2
Count Dates Help? 7
Count Dates <Today? 3
Splitting Text? 4
Return every 50th Value? 6
Inverse ... Formula or Function? 1
Sumproduct? 5

Top