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 need help extracting data from cell....

Hi - I've never used VBScript before.

I need to get the data within the parentheses.

"222 134 STREET
New York, NY 10030
(40.8149219739981, -73.94493618207292)"

and put it in another column.

I would like a formula or process to do this to multiple cells, going down.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default need help extracting data from cell....

hi Chris,

=SUBSTITUTE(SUBSTITUTE(A1,"(",""),")","")


--
isabelle

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 587
Default need help extracting data from cell....

or,

=IF(ISERROR(FIND("(",A1)),A1,LEFT(A1,FIND("(",A1)-1))


--
isabelle


Le 2011-10-19 14:33, isabelle a écrit :
hi Chris,

=SUBSTITUTE(SUBSTITUTE(A1,"(",""),")","")


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default need help extracting data from cell....

On Oct 19, 1:36*pm, isabelle wrote:
or,

=IF(ISERROR(FIND("(",A1)),A1,LEFT(A1,FIND("(",A1)-1))

--
isabelle

Le 2011-10-19 14:33, isabelle a écrit :







hi Chris,


=SUBSTITUTE(SUBSTITUTE(A1,"(",""),")","")


OR withOUT formulas, Just use datatext to columnsdelimitedother (
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default need help extracting data from cell....

On Wed, 19 Oct 2011 09:38:34 -0700 (PDT), Chris Persheff wrote:

Hi - I've never used VBScript before.

I need to get the data within the parentheses.

"222 134 STREET
New York, NY 10030
(40.8149219739981, -73.94493618207292)"

and put it in another column.

I would like a formula or process to do this to multiple cells, going down.

Thanks!



For a worksheet formula, with your data in A1:

B1: =MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)

and fill down.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default need help extracting data from cell....

On Oct 19, 11:38*am, Chris Persheff wrote:
Hi - I've never used VBScript before.

I need to get the data within the parentheses.

"222 134 STREET
New York, NY 10030
(40.8149219739981, -73.94493618207292)"

and put it in another column.

I would like a formula or process to do this to multiple cells, going down.

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
Extracting Data From The Right of a Cell Brian Ashcraft Excel Worksheet Functions 1 March 31st 11 12:38 AM
extracting data from one cell to another pat67 Excel Worksheet Functions 8 April 30th 10 11:50 PM
Extracting data from a cell April Stallings Excel Worksheet Functions 2 July 14th 06 03:50 PM
Extracting data from a cell April Stallings Excel Discussion (Misc queries) 6 July 14th 06 03:10 PM
Extracting data from a cell - please help ajw150 Excel Discussion (Misc queries) 2 May 30th 06 09:13 AM


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