Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Validation a character in a string

Can any one help me setup a formula for verifying a character in
string with a condition
for eg.
if in cell A2 AACFA4928P and i want to verify is the fourth character
from the left is C or not ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 703
Default Validation a character in a string

Hi

Look at this:

=IF(MID(A1,4,1)<"c","Not C","Is C")

Regards,
Per

On 10 Okt., 13:46, coolmale001 wrote:
Can any one help me setup a formula for verifying a character in
string with a condition
for eg.
if in cell A2 AACFA4928P and i want to verify is the fourth character
from the left is C or not ?


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
Pull string before a certain character Sandra[_2_] Excel Discussion (Misc queries) 3 April 3rd 23 02:10 PM
Finding a Character in a String Using VBA BVass Excel Discussion (Misc queries) 2 April 9th 09 03:52 AM
Check for character in string dksaluki Excel Discussion (Misc queries) 3 December 11th 07 12:53 PM
find a character in a string kevcar40 Excel Discussion (Misc queries) 4 June 5th 07 12:10 PM
Excel-Match 1st text character in a string to a known character? bushlite Excel Worksheet Functions 2 January 15th 07 06:36 PM


All times are GMT +1. The time now is 09:46 AM.

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

About Us

"It's about Microsoft Excel"