Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
how can i write formula for custom validation for a cell like this.
first 3 digit shoulg be a number, next digit should be a text then next 6 digit should be number. e.g. 126P151008 thanks in advance |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The following should return TRUE for your example in cell A1
=IF(AND(ISNUMBER(VALUE(LEFT(A1,3)))=TRUE,ISNUMBER( VALUE(MID(A1,4,1)))=FALSE,ISNUMBER(VALUE(RIGHT(A1, 6)))),TRUE,FALSE) Hope this helps, Gary "aditya" wrote: how can i write formula for custom validation for a cell like this. first 3 digit shoulg be a number, next digit should be a text then next 6 digit should be number. e.g. 126P151008 thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom Data Validation for specific text and numbers only | Excel Discussion (Misc queries) | |||
Want to custom formatting a number similar to @,@ for text. | Excel Discussion (Misc queries) | |||
Data Validation and Custom Number Formats | Excel Discussion (Misc queries) | |||
Data validation with custom number formatting | Excel Discussion (Misc queries) | |||
Custom Number Format Text | Excel Discussion (Misc queries) |