Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Extract characters from cell

Good morning everyone,

I would really appreciate if somebody could give me a hand with this:
I'm trying to extract the state for each one of my cells on the row
labeled "Description", the data looks like this:

DESCRIPTION
Abbeville, LA Micropolitan Statistical Area
Aberdeen, SD Micropolitan Statistical Area
Aberdeen, WA Micropolitan Statistical Area
Abilene, TX Metropolitan Statistical Area
Ada, OK Micropolitan Statistical Area
Adrian, MI Micropolitan Statistical Area
Akron, OH Metropolitan Statistical Area
Alamogordo, NM Micropolitan Statistical Area
Albany, GA Metropolitan Statistical Area
Albany-Lebanon, OR Micropolitan Statistical Area
Albany-Schenectady-Troy, NY Metropolitan Statistical Area

Thank you!

JM
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default Extract characters from cell

Assume the data is in column A starting in A1, in B1 put


=MID(A1,FIND(",",A1)+2,2)


press enter

Select B1 again, move the cursor to the lower right corner of B1 and when it
changes to a thick cross double click to copy down the formula.

While still selected press Ctrl + C, then do editpaste special and select
values


Replace A1 with the cell address of the first cell with data



--


Regards,


Peo Sjoblom


"Juan Marin" wrote in message
...
Good morning everyone,

I would really appreciate if somebody could give me a hand with this:
I'm trying to extract the state for each one of my cells on the row
labeled "Description", the data looks like this:

DESCRIPTION
Abbeville, LA Micropolitan Statistical Area
Aberdeen, SD Micropolitan Statistical Area
Aberdeen, WA Micropolitan Statistical Area
Abilene, TX Metropolitan Statistical Area
Ada, OK Micropolitan Statistical Area
Adrian, MI Micropolitan Statistical Area
Akron, OH Metropolitan Statistical Area
Alamogordo, NM Micropolitan Statistical Area
Albany, GA Metropolitan Statistical Area
Albany-Lebanon, OR Micropolitan Statistical Area
Albany-Schenectady-Troy, NY Metropolitan Statistical Area

Thank you!

JM



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Extract characters from cell

Assuming your data starts in A2, put this in B2:

=MID(A2,FIND(",",A2)+2,2)

and copy down as required.

Hope this helps.

Pete

On Oct 28, 4:26*pm, Juan Marin wrote:
Good morning everyone,

I would really appreciate if somebody could give me a hand with this:
I'm trying to extract the state for each one of my cells on the row
labeled "Description", the data looks like this:

DESCRIPTION
Abbeville, LA Micropolitan Statistical Area
Aberdeen, SD Micropolitan Statistical Area
Aberdeen, WA Micropolitan Statistical Area
Abilene, TX Metropolitan Statistical Area
Ada, OK Micropolitan Statistical Area
Adrian, MI Micropolitan Statistical Area
Akron, OH Metropolitan Statistical Area
Alamogordo, NM Micropolitan Statistical Area
Albany, GA Metropolitan Statistical Area
Albany-Lebanon, OR Micropolitan Statistical Area
Albany-Schenectady-Troy, NY Metropolitan Statistical Area

Thank you!

JM


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
How can I extract characters from inside a cell? Eric Excel Worksheet Functions 4 September 13th 07 05:21 PM
Easiest way to extract characters in a cell LEFT or RIGHT of a sym Training Goddess Excel Worksheet Functions 2 May 29th 07 09:05 PM
Extract characters from a cell JBasch Excel Discussion (Misc queries) 2 March 10th 06 02:27 AM
Extract the first few characters MC_blur Excel Worksheet Functions 6 January 13th 06 05:18 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM


All times are GMT +1. The time now is 11:47 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"