View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tim m tim m is offline
external usenet poster
 
Posts: 430
Default Parsing Last Character in variable length text field

Make a new column next to the the one with your data and try this forumla

=RIGHT(A2,1)

This will give you the last character. You can then just copy the formula
down. (In the example I assume your data starts in A2, yours may vary so
just change the formula to match your data start cell.)

"Traci" wrote:

I need to pull the last character from the data in a text field. Problem is,
the data is not all the same length. Sample data:

BBD2
BPN10499B
BPN6499

What I need to do is parse out the last character so i can check to see if
it is a B and filter only those records.

Any help you can provide will be much appreciated!!

Thanks