Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default weeding out info from cells


I have a problem. I need to take a spreadsheet that had a e-commerce
site's information and transpose that to another spreadsheet. This
information includes meta tag and html markup in one spreadsheet. The
other spreadhseet doesn't use the html and also takes what was all in
one cell and has it split in

1st spreadhseet example:
(all this is in one cell)
<meta NAME="description" CONTENT="1 Spot Adapter. Visual Sound 1 Spot
9V DC Adapter at the lowest price! X store ships all over the US
including ohio, pennsylvania, illinois, new, york, jersey, california,
florida, texas and more. Trust x store for the lowest prices, largest
selection and best service." <meta NAME="keywords" CONTENT="1, Spot,
Adapter, one, Visual, Sound, 9V, DC, Adapter, lowest, prices, on,
line, store, ohio, pennsylvania, illinois, new, york, jersey,
california, florida, texas, on-line, discount, retail, best, for,
and" <META name="RATING" content="General" <META name="ROBOTS"
content="index,follow"<META NAME="REVISIT-AFTER" CONTENT="2 weeks"

Needs to go a new spreadsheet
one cell is for meta description, one for keywords with NO HTML markup
and no rating, revist etc. info

So the question is how do I pull out the meta description with no html
markup and transport that to one cell, delete the rest of html markup
and also pull out the keywords info to another cell? I think the
trickist part is that each description and keyword will not start with
nor contain the same information.

I have about 7k lines to go through. ONe at a time would be a major
pain in the rear.

Thanks much,
Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default weeding out info from cells


iamdave;221094 Wrote:
I have a problem. I need to take a spreadsheet that had a e-commerce
site's information and transpose that to another spreadsheet. This
information includes meta tag and html markup in one spreadsheet. The
other spreadhseet doesn't use the html and also takes what was all in
one cell and has it split in

1st spreadhseet example:
(all this is in one cell)
<meta NAME="description" CONTENT="1 Spot Adapter. Visual Sound 1 Spot
9V DC Adapter at the lowest price! X store ships all over the US
including ohio, pennsylvania, illinois, new, york, jersey, california,
florida, texas and more. Trust x store for the lowest prices, largest
selection and best service." <meta NAME="keywords" CONTENT="1, Spot,
Adapter, one, Visual, Sound, 9V, DC, Adapter, lowest, prices, on,
line, store, ohio, pennsylvania, illinois, new, york, jersey,
california, florida, texas, on-line, discount, retail, best, for,
and" <META name="RATING" content="General" <META name="ROBOTS"
content="index,follow"<META NAME="REVISIT-AFTER" CONTENT="2 weeks"

Needs to go a new spreadsheet
one cell is for meta description, one for keywords with NO HTML markup
and no rating, revist etc. info

So the question is how do I pull out the meta description with no html
markup and transport that to one cell, delete the rest of html markup
and also pull out the keywords info to another cell? I think the
trickist part is that each description and keyword will not start with
nor contain the same information.

I have about 7k lines to go through. ONe at a time would be a major
pain in the rear.

Thanks much,
Dave


I'm guessing this is a one-time job, otherwise you might run it while
recording a macro.
The easiest way is probably using Data - Text to columns - use "<" ( no
quotes) as a delimiter
This will allow you to extract the different meta strings
The strings you do not need can be easily erased with
Ctrl+H
Look for ...
Replace with
As I don't know exactly what you need, I hope this puts you on track.
:)


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=60900

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default weeding out info from cells

On Feb 9, 12:02*pm, Pecoflyer
wrote:
iamdave;221094 Wrote:



I have a problem. I need to take a spreadsheet that had a e-commerce
site's information and transpose that to another spreadsheet. This
information includes meta tag and html markup in one spreadsheet. The
other spreadhseet doesn't use the html and also takes what was all in
one cell and has it split in


1st spreadhseet example:
(all this is in one cell)
<meta NAME="description" CONTENT="1 Spot Adapter. Visual Sound 1 Spot
9V DC Adapter at the lowest price! X store ships all over the US
including ohio, pennsylvania, illinois, new, york, jersey, california,
florida, texas and more. Trust x store for the lowest prices, largest
selection and best service." <meta NAME="keywords" CONTENT="1, Spot,
Adapter, one, Visual, Sound, 9V, DC, Adapter, lowest, prices, on,
line, store, ohio, pennsylvania, illinois, new, york, jersey,
california, florida, texas, on-line, discount, retail, best, for,
and" <META name="RATING" content="General" <META name="ROBOTS"
content="index,follow"<META NAME="REVISIT-AFTER" CONTENT="2 weeks"


Needs to go a new spreadsheet
one cell is for meta description, one for keywords with NO HTML markup
and no rating, revist etc. info


So the question is how do I pull out the meta description with no html
markup and transport that to one cell, delete the rest of html markup
and also pull out the keywords info to another cell? I think the
trickist part is that each description and keyword will not start with
nor contain the same information.


I have about 7k lines to go through. ONe at a time would be a major
pain in the rear.


Thanks much,
Dave


I'm guessing this is a one-time job, otherwise you might run it while
recording a macro.
The easiest way is probably using Data - Text to columns - use "<" ( no
quotes) as a delimiter
This will allow you to extract the different meta strings
The strings you do not need can be easily erased with
Ctrl+H
Look for ...
Replace with
As I don't know exactly what you need, I hope this puts you on track.
:)

--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)*& allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile:http://www.thecodecage.com/forumz/member.php?userid=14
View this thread:http://www.thecodecage.com/forumz/sh...ad.php?t=60900


Hmm, maybe the macro thing is the ticket. I was hoping some kind of
replace thing also. Yes, it's a one time thing but on 7,000 rows.
ugh...

Sure appreciate the input and any other thoughts.

Dave
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
Copy info into empty cells below info, until finds cell with new d Fat Jack Utah Excel Discussion (Misc queries) 3 November 16th 08 08:34 PM
duplicate info in cells ranvin56 Excel Worksheet Functions 2 December 12th 07 05:27 PM
Data Weeding Maow Excel Discussion (Misc queries) 1 June 7th 06 09:11 AM
Link info in one cell to info in several cells in another column (like a database) hansdiddy Excel Discussion (Misc queries) 1 February 22nd 06 02:27 AM
Merging Info in Two Cells [email protected] Excel Discussion (Misc queries) 1 December 28th 05 10:43 PM


All times are GMT +1. The time now is 06:27 PM.

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"