Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default extract data up to a certain character


hi all,

I'm having trouble extracting data up on a cell up to a certain
character, for example up to "/"

for example this cell data: David Staton / 102 oak st

I just need "David Station" and leave "/ 102 oak" st alone

thanks for any pointers.
mark


--
markahpi
------------------------------------------------------------------------
markahpi's Profile: http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default extract data up to a certain character

=LEFT(A1,FIND("/",A1)-1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"markahpi" wrote in
message ...

hi all,

I'm having trouble extracting data up on a cell up to a certain
character, for example up to "/"

for example this cell data: David Staton / 102 oak st

I just need "David Station" and leave "/ 102 oak" st alone

thanks for any pointers.
mark


--
markahpi
------------------------------------------------------------------------
markahpi's Profile:

http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default extract data up to a certain character


forgot asking on how to extract the other part "102 oak st"
only?


--
markahpi
------------------------------------------------------------------------
markahpi's Profile: http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default extract data up to a certain character

=MID(A1,FIND("/",A1)+1,99)

You can also use DataText To Columns with a delimiter of /

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"markahpi" wrote in
message ...

forgot asking on how to extract the other part "102 oak st"
only?


--
markahpi
------------------------------------------------------------------------
markahpi's Profile:

http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default extract data up to a certain character


thanks bob! :)


--
markahpi
------------------------------------------------------------------------
markahpi's Profile: http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default extract data up to a certain character

You have more responses at your other post.

markahpi wrote:

forgot asking on how to extract the other part "102 oak st"
only?

--
markahpi
------------------------------------------------------------------------
markahpi's Profile: http://www.excelforum.com/member.php...o&userid=37571
View this thread: http://www.excelforum.com/showthread...hreadid=571997


--

Dave Peterson
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
Vlookup to Return a Range of Data James Excel Discussion (Misc queries) 0 July 13th 06 09:44 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM


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