Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default How can I parse time and address from cell with non standard extra text?



Ok here is my goal.
On Thursday my local newspaper post Garage sell ads for the up coming
weekend.
I've found these sales are an excellent source for merchandise to sell
on ebay. And the prices are awesome.

If I open the paper site in Excel I get cells that look like this. (50
- 100 ads)

How can parse out just the time and address of the sale so I can plan
my routes and which days to visit which house.
(Folks mark the stuff down on the lastday)


1. Come see at: 4785 SE 133rd Dr, City, State 12345 Off Holgate, take
a right on 134th, (Aspen Meadows), stop sign take a right, take a left
on 133rd and 5th house on the left. Saturday August 11, 2007 10am to
5pm only

2. Lots of Name Brands!! Tons of Clothes for Girls and Boys. Dog
House, Animal Kennel, toys, lego table, infant chairs, girl HOPE TO
SEE YOU THERE, THANK YOU!!!! This Friday & Saturday!! 8/10 & 8/11 10am
- 6pm 2100 SE 118th Ave City, St 12345

3. Lots of Name Brands!! Tons of Clothes for Girls and Boys. Dog
House, Animal Kennel, toys, lego table, infant chairs, girl HOPE TO
SEE YOU THERE, THANK YOU!!!! Fri & Sat Aug 10 & Aug 11 10 am - 6 pm
2100 SE 120th Ave City, St no zip

Steve

  #2   Report Post  
Posted to microsoft.public.excel.programming
bac bac is offline
external usenet poster
 
Posts: 76
Default How can I parse time and address from cell with non standard extra

There is no way to programmatically parse inconsistently structured data.
With data that is consistently formatted you can use something like:
=IF(AF9 <
"",(MID(AF9,SEARCH("BNF:",AF9),SEARCH("ID:",AF 9)-SEARCH("BNF:",AF9))),"")

which strips out anything between "BNF" and "ID" in the text in AF9

But here all the rows are consistent in that they have "BNF and "ID" in the
text string, "ID" ALWAYS follows "BNF", and the info I want is ALWAYS
between the two. In the case of your newspaper adds that is not the case.

"Steve" wrote:



Ok here is my goal.
On Thursday my local newspaper post Garage sell ads for the up coming
weekend.
I've found these sales are an excellent source for merchandise to sell
on ebay. And the prices are awesome.

If I open the paper site in Excel I get cells that look like this. (50
- 100 ads)

How can parse out just the time and address of the sale so I can plan
my routes and which days to visit which house.
(Folks mark the stuff down on the lastday)


1. Come see at: 4785 SE 133rd Dr, City, State 12345 Off Holgate, take
a right on 134th, (Aspen Meadows), stop sign take a right, take a left
on 133rd and 5th house on the left. Saturday August 11, 2007 10am to
5pm only

2. Lots of Name Brands!! Tons of Clothes for Girls and Boys. Dog
House, Animal Kennel, toys, lego table, infant chairs, girl HOPE TO
SEE YOU THERE, THANK YOU!!!! This Friday & Saturday!! 8/10 & 8/11 10am
- 6pm 2100 SE 118th Ave City, St 12345

3. Lots of Name Brands!! Tons of Clothes for Girls and Boys. Dog
House, Animal Kennel, toys, lego table, infant chairs, girl HOPE TO
SEE YOU THERE, THANK YOU!!!! Fri & Sat Aug 10 & Aug 11 10 am - 6 pm
2100 SE 120th Ave City, St no zip

Steve


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
parse name from email address [email protected] Excel Discussion (Misc queries) 2 May 21st 07 03:28 PM
parse email address Michael Connolly Excel Discussion (Misc queries) 4 November 7th 06 12:09 PM
Parse an email address Michael Connolly Excel Worksheet Functions 2 November 3rd 06 04:02 PM
Parse an email address Michael Connolly Excel Worksheet Functions 1 November 3rd 06 03:53 PM
?? Extra blank lines in 'address' cell after exporting to Excel Hadyn Pkok Excel Discussion (Misc queries) 4 April 15th 05 11:34 PM


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