PC Review


Reply
Thread Tools Rate Thread

How can I parse time and address from cell with non standard extra text?

 
 
Steve
Guest
Posts: n/a
 
      10th Aug 2007


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 With Quote
 
 
 
 
=?Utf-8?B?QkFD?=
Guest
Posts: n/a
 
      10th Aug 2007
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:",AF9)-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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to parse text in a cell Rob Microsoft Excel Programming 8 6th Sep 2011 10:32 PM
WITHIN CELL, PARSE END OF TEXT, START OF NUMBER ORLANDO V Microsoft Excel Misc 2 23rd Dec 2008 10:48 PM
Excel - cell address inside formula as text from other cell kris.krzysiek@gmail.com Microsoft Excel Discussion 5 30th Jan 2008 12:58 AM
?? Extra blank lines in 'address' cell after exporting to Excel =?Utf-8?B?SGFkeW4gUGtvaw==?= Microsoft Excel Misc 4 15th Apr 2005 11:34 PM
Advanced Parse - separate address and suburb in cell Smoke Microsoft Excel Worksheet Functions 3 12th Feb 2004 07:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 PM.