ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Validation Formula? (https://www.excelbanter.com/excel-discussion-misc-queries/189941-validation-formula.html)

Ken

Validation Formula?
 
Excel2003 ...

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

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

Thanks ... Kha

Peo Sjoblom

Validation Formula?
 
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


"Ken" wrote in message
...
Excel2003 ...

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

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

Thanks ... Kha




muddan madhu

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



On Jun 4, 7:08*pm, Ken wrote:
Excel2003 ...

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

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

Thanks ... Kha



Peo Sjoblom

Validation Formula?
 
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




"muddan madhu" wrote in message
...
Suppose u want validation for A1 cell,
Use custom validation and put this formula =OR(EXACT(A1,UPPER("p")),
(A1=1)*(A1<9))



On Jun 4, 7:08 pm, Ken wrote:
Excel2003 ...

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

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

Thanks ... Kha




Ken

Validation Formula?
 
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

"Peo Sjoblom" wrote:

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




"muddan madhu" wrote in message
...
Suppose u want validation for A1 cell,
Use custom validation and put this formula =OR(EXACT(A1,UPPER("p")),
(A1=1)*(A1<9))



On Jun 4, 7:08 pm, Ken wrote:
Excel2003 ...

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

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

Thanks ... Kha





Ken

Validation Formula?
 
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

"Peo Sjoblom" wrote:

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




"muddan madhu" wrote in message
...
Suppose u want validation for A1 cell,
Use custom validation and put this formula =OR(EXACT(A1,UPPER("p")),
(A1=1)*(A1<9))



On Jun 4, 7:08 pm, Ken wrote:
Excel2003 ...

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

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

Thanks ... Kha






All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com