#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default DATA VALIDATION

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default DATA VALIDATION

Use this formula in Custom Data Validation:
=ISNUMBER(FIND("P",B1))
Regards,
Stefi

€˛aditya€¯ ezt Ć*rta:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default DATA VALIDATION

Select the cell(s) and using data Validation, choose Custom and enter this
formula:
=FIND("P",B2)0
in this case B2 is the first cell in the range selected of a multiple cell
selection.
It will alert if a P is not in the entry, but won't tell you if several Ps
are entered, just if there isn't one.

"aditya" wrote:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default DATA VALIDATION

it works well only if P is capital letter.
i want to accept p as capital as well as small letter.

pls help

"Stefi" wrote:

Use this formula in Custom Data Validation:
=ISNUMBER(FIND("P",B1))
Regards,
Stefi

€˛aditya€¯ ezt Ć*rta:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default DATA VALIDATION

it works well only if P is capital letter.
i want to accept p as capital as well as small letter.

pls help


"JLatham" wrote:

Select the cell(s) and using data Validation, choose Custom and enter this
formula:
=FIND("P",B2)0
in this case B2 is the first cell in the range selected of a multiple cell
selection.
It will alert if a P is not in the entry, but won't tell you if several Ps
are entered, just if there isn't one.

"aditya" wrote:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default DATA VALIDATION

It's always worth looking at Excel help.
From Excel help for the FIND function:
"You can also use SEARCH to find one text string within another, but unlike
SEARCH, FIND is case sensitive and doesn't allow wildcard characters."
--
David Biddulph

aditya wrote:
it works well only if P is capital letter.
i want to accept p as capital as well as small letter.

pls help


"JLatham" wrote:

Select the cell(s) and using data Validation, choose Custom and
enter this formula:
=FIND("P",B2)0
in this case B2 is the first cell in the range selected of a
multiple cell selection.
It will alert if a P is not in the entry, but won't tell you if
several Ps are entered, just if there isn't one.

"aditya" wrote:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default DATA VALIDATION

You should have specified it in your post! This is case insensitive:
=ISNUMBER(SEARCH("P",B1))
Regards,
Stefi

€˛aditya€¯ ezt Ć*rta:

it works well only if P is capital letter.
i want to accept p as capital as well as small letter.

pls help

"Stefi" wrote:

Use this formula in Custom Data Validation:
=ISNUMBER(FIND("P",B1))
Regards,
Stefi

€˛aditya€¯ ezt Ć*rta:

data in column B is of 9 or 10 or 11 or 12 digit.
In every case it contains alphabet "P" whereas others are digit.
e.g. 10P060509
125P695847

how can i check this through data validation?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"