+ Reply to Thread
Results 1 to 9 of 9

How Do I extract specific data from one cell to another?

  1. #1
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    How Do I extract specific data from one cell to another?

    Hello I was reading a recent post by you on how to extract certain data from a cell. I was wondering if you would also know how to do the following. I have an ecommerce store and need to extract certain data from my dealers. Here's and eg.
    Cell info
    <p><br /><img height=351 width=500 border=0 src=http://www.tpg.com/paintball/images/T68/T68_True_Target_Marker_LF.jpg /><br /><br /><br /><img height=371 width=500 border=0 src=http://www.tpg.com/paintball/images/T68/T68_True_Target_Marker_LB.jpg /><br /></p><table width=500 cellspacing=0 cellpadding=0 border=0 id=table1> <tbody> <tr> <td><font face=Arial size=2>The T68 True Target Package is all metal construction. This unit is built for fast rapid action. Built with the <a href=http://www.tpg.com/os/product_info.php/products_id/63>True Target Point Sight</a> you are in complete control of each shot..</font></td> </tr> </tbody></table><p><font face=Arial size=2><br /></font></p><p><font face=Arial size=2 color=#ff0000><font face=arial size=2><b>Available Options</b></font><table height=293 id=table2> <tbody> <tr> <td height=9 width=75 valign=center><b><font face=Arial size=2>Option 1:</font></b></td> <td height=9 width=409><font face=Arial size=2>There are 9 different air options to choose from: <a target=_new href=http://www.tpg.com/paintball/t68_air_system.html><font face=Arial size=2 color=#0000ff>View the different air system available here</font></a></font></td> </tr> <tr> <td height=12 width=75 valign=center><b><font face=Arial size=2>Option 2:</font></b></td> <td height=12 width=409><font face=Arial size=2>Your marker comes with a 14&quot; Tactical barrel, you can upgrade your barrel to rifled version for better performance. You can </font><a target=_new href=http://www.tpg.com/paintball/os/barrel-systems-tactical-rifled-barrel-c-22_220_388.html><font face=Arial size=2 color=#0000ff>view the different barrels and specs here</font></a></td> </tr> <tr> <td height=40 width=75 valign=center><b><font face=Arial size=2>Option 3:</font></b></td> <td height=40 width=409><font face=Arial size=2>With this 200 rounds hopper adaptor and you can change out your magazine fed marker to use a hopper</font></td> </tr> <tr> <td height=11 width=75><b><font face=Arial size=2>Option 4:</font></b></td> <td height=11 width=409><font face=Arial size=2>This kit comes with all the o-rings to completely rebuilt your marker</font></td> </tr> <tr> <td height=2 width=75><b><font face=Arial size=2>Option 5:</font></b></td> <td height=2 width=409><font face=Arial size=2>This tool kit has all the tools for you to service your marker</font></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 6:</font></b></td> <td height=21 width=409><font face=Arial size=2>Extend your manufacture warranty to 3 years</font></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 7:</font></b></td> <td height=21 width=409><font face=Arial size=2>Add additional magazines to your package</font></td> </tr> <tr> <td height=40 width=75><b><font face=Arial size=2>Option 8:</font></b></td> <td height=40 width=409><font face=Arial size=2>Add a hard cover carrying case to protect your marker. This is an excellent storage case. </font><a target=_new href=http://www.tpg.com/paintball/os/rap4-paintball-marker-p-4330.htm><font face=Arial size=2 color=#0000ff>View the case here</font></a></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 9:</font></b></td> <td height=21 width=409><font face=Arial size=2>Additional 5oz cylinder to your package</font></td> </tr> </tbody></table></font></p><p>&nbsp;</p><br><b>Package Includes:</b><br>- 1 x T68 M4 Gen6 - Magazine Fed Paintball Gun ( <a href=\t68-paintball-gun-magazine-fed-c-21_143_340.html\> more info</a> ) <br />- 1 x 5 Year Warranty<br />- 1 x <a href=\product_info.php/products_id/1129\>20mm Rail<br /></a> - 1 x <a href=\vertical-grip-black-p-301.html\>RIS Vertical Grip</a><br />- 1 x <a href=\product_info.php/products_id/146\>M4 Scope Base Mount</a><br />- 1 x <a href=\product_info.php/products_id/63\>True Target Point Sight<br /></a> - 1 x <a href=\advanced_search_result.php?keywords=exacto&amp;inc_subcat=1&amp;Search=Search\> Exacto Laser Sight</a>
    End of Cell data
    It will be like this for a full column. What I need is to be able to pull the very first image url from the text into another cell and colum. I then need all the info from the "Package Includes" into another cell and column. Please let me know if you know how to do this.
    Thank you
    Last edited by VBA Noob; 04-18-2009 at 04:33 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How Do I extract specific data from one cell to another?

    A workbook with a before and after example, please?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How Do I extract specific data from one cell to another?

    Here is the file format I'd need
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How Do I extract specific data from one cell to another?

    This works for the example, but I expect others would break it.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How Do I extract specific data from one cell to another?

    So far this is looking great. Only question is what do I have to do to make this work in a new xls file? I tried using the formula you gave in a new excel file but kept getting this #NAME? Is there something else I have to set up in a new file for this? Also, I get the same thing when copying the cell over into another excel file. What I need to do after this is done is take the columns Images & Product Packages and place the extracted information into another excel file template so the data uploads properly into my ecommerce store. How do I copy this information properly?
    Thanks again, really appreciate it.

  6. #6
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How Do I extract specific data from one cell to another?

    Hey, also noticed with the image cell on this descriptions it pulled some sort of ad from the desription?

    <p>&nbsp;</p><table width=500 cellspacing=0 cellpadding=0 border=0 id=table2> <tbody> <tr> <td><font face=Arial size=2>This package is designed for special recon operations. Armed with high mount red dot sight for fast target acquisition to take out fast moving targets. </font></td> </tr> </tbody></table><p><font face=Arial size=2> <img height=362 width=500 border=0 src=http://www.rap4.com/paintball/images/T68/T68_Paintball_Gun_Recon_1_FL.jpg /><br /><br /><img height=211 width=500 border=0 src=http://www.rap4.com/paintball/images/T68/T68_Paintball_Gun_Recon_1_L.jpg /></font></p><script language='JavaScript' type='text/javascript' src='http://www.rap4.com/ads/adx.js'></script> <script language='JavaScript' type='text/javascript'><!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write (< + script language='JavaScript' type='text/javascript' src='); document.write (http://www.rap4.com/ads/adjs.php?n= + phpAds_random); document.write (&amp;what=zone:21&amp;target=self); document.write (&amp;exclude= + document.phpAds_used); if (document.referrer) document.write (&amp;referer= + escape(document.referrer)); document.write ('>< + /script>);//--></script><noscript><a href='http://www.rap4.com/ads/adclick.php?n=a0824a10' target='self'><img src='http://www.rap4.com/ads/adview.php?what=zone:21&n=a0824a10' border='0' alt=''></a></noscript><p><font face=Arial size=2><br /><b> Key features:</b><br />- .68 caliber system&mdash;uses all standard paintballs!<br />- Semi-automatic (optional upgrade for semi/burst/auto)<br />- Internal Flexi-Air system<br />- All-metal body<br />- Weaver flattop rail<br />- ASTS trigger<br />- Works with CO2/Compressed Air/HPA/Nitrogen tanks of all sizes<br />- Maximum range: 300 feet<br />- Effective range: 150 feet<br />- Velocity 200-325 fps (adjustable)<br /><b><br /></b></font><font face=Arial size=2><br /><b><p>&nbsp;</p><font face=Arial size=2 color=#ff0000> <font face=arial size=2>Available Options</font><table height=293 id=table3> <tbody> <tr> <td height=9 width=75 valign=center><b><font face=Arial size=2>Option 1:</font></b></td> <td height=9 width=409><font face=Arial size=2>There are 9 different air options to choose from: <a target=_new href=http://www.rap4.com/paintball/t68_air_system.html><font face=Arial size=2 color=#0000ff>View the different air system available here</font></a></font></td> </tr> <tr> <td height=12 width=75 valign=center><b><font face=Arial size=2>Option 2:</font></b></td> <td height=12 width=409><font face=Arial size=2>Your marker comes with a 10&quot; barrel, you can upgrade your barrel to rifled version for better performance. You can </font><a target=_new href=http://www.rap4.com/paintball/os/barrel-systems-tactical-rifled-barrel-c-22_220_388.html><font face=Arial size=2 color=#0000ff>view the different barrels and specs here</font></a></td> </tr> <tr> <td height=40 width=75 valign=center><b><font face=Arial size=2>Option 3:</font></b></td> <td height=40 width=409><font face=Arial size=2>With this 200 rounds hopper adaptor and you can change out your magazine fed marker to use a hopper</font></td> </tr> <tr> <td height=11 width=75><b><font face=Arial size=2>Option 4:</font></b></td> <td height=11 width=409><font face=Arial size=2>This kit comes with all the o-rings to completely rebuilt your marker</font></td> </tr> <tr> <td height=2 width=75><b><font face=Arial size=2>Option 5:</font></b></td> <td height=2 width=409><font face=Arial size=2>This tool kit has all the tools for you to service your marker</font></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 6:</font></b></td> <td height=21 width=409><font face=Arial size=2>Extend your manufacture warranty to 3 years</font></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 7:</font></b></td> <td height=21 width=409><font face=Arial size=2>Add additional magazines to your package</font></td> </tr> <tr> <td height=40 width=75><b><font face=Arial size=2>Option 8:</font></b></td> <td height=40 width=409><font face=Arial size=2>Add a hard cover carrying case to protect your marker. This is an excellent storage case. </font><a target=_new href=http://www.rap4.com/paintball/os/rap4-paintball-marker-p-4330.htm><font face=Arial size=2 color=#0000ff>View the case here</font></a></td> </tr> <tr> <td height=21 width=75><b><font face=Arial size=2>Option 9:</font></b></td> <td height=21 width=409><font face=Arial size=2>Additional 5oz cylinder to your package</font></td> </tr> </tbody></table></font> </b><p>&nbsp;</p></font></p><br><b>Package Includes:</b><br>- 1 x T68 M4 Gen6 - Magazine Fed Paintball Gun ( <a href=\t68-paintball-gun-magazine-fed-c-21_143_340.html\> more info</a> ) <br />- 1 x 5 Year Warranty<br />- 1 x 10 Inch Recon Barrel<br />- 1 x Phantom Handguard<br />- 1 x Gemtech Silencer ( <a href=\gemtech-threadon-silencer-double-threaded-rifled-barrel-p-3754.html\> more info</a> )<br />- 1 x Scope Mount Base ( <a href=\paintball-m16m4-scope-mount-base-p-6051.html\>more info</a> ) <br />- 1 x Red Dot 1x40mm Scope ( <a href=\tippmann-krinkov-40mm-scope-p-3705.html\>more info</a> )


    Thanks again man

  7. #7
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How Do I extract specific data from one cell to another?

    Sorry to keep bothering you but you've helped me out already so much, can you tell me how to do this? If a product description doesn't have a "Packages Includes" then how do I pull the description text from it? Here's an example, it's for a barrel.

    <P><BR><IMG height=320 src=http://www.rap4.com/images/barrel/22_Inch_Sniper_Barrel.jpg width=500 border=0><BR><FONT size=2><BR><IMG height=285 src=http://www.rap4.com/images/barrel/Tippmann_X7_22_Inch_Sniper_Barrel_Gun.jpg width=500 border=0><BR></FONT><BR></P><FONT size=2><TABLE id=table2 width=500 border=0><TBODY><TR><TD><FONT face=Arial size=2>NEW .68 Caliber Tippmann X7 22 Inch Super Sniper Barrel. The high quality of these rifled barrels will give you supreme performance on the field! This new 22 Inch Super Sniper Barrel is designed for scenario paintball markers such as those from Tippmann, BT Paintball, and our Real Action Paintball T68! These barrels are designed to accept a handguard, front sight, rail system and even grenade launchers! These new Tactical Rifled Barrels are designed on the outside for looks and engineered on the inside to greatly improve accuracy and reliability. Available in 12, 14, 16, 18 and 22.<BR><BR>The Tippmann X7 22 Inch Super Sniper Barrel is key to converting a paintball marker for scenario play. It can be used as an attachment point for all manner of accessories, as the Tactical Rifled Barrel is scaled from military specs and takes most attachments without anything modifications. This barrel can accommodate rails, mounts, laser sights and grenade launchers without making any changes to the marker or the barrel.<BR><BR>This Tippmann X7 22 Inch Super Sniper Barrel will not just make your marker look and feel better, but will also enhance your accuracy as well!<BR><BR></FONT><TABLE id=table4 width=400 border=0><TBODY><TR><TD width=34><FONT face=Arial size=2><B><A href=http://www.rap4.com/paintball/os/barrel-systems-tactical-rifled-barrel-c-22_220_388.html><IMG height=30 src=http://www.rap4.com/images/info_arrow.gif width=30 border=0></A></B></FONT></TD><TD><FONT face=Arial size=2><B><A href=http://www.rap4.com/paintball/os/barrel-systems-tactical-rifled-barrel-c-22_220_388.html>More information and specification</A></B></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><P><IMG height=353 src=http://www.rap4.com/images/barrel/Tippmann_98_22_Inch_Sniper_Barrel_Gun.jpg width=500 border=0><BR><IMG height=309 src=http://www.rap4.com/images/barrel/Spyder_22_Inch_Sniper_Barrel_Gun.jpg width=504 border=0><BR><BR><IMG height=314 src=http://www.rap4.com/images/barrel/Viewloader_22_Inch_Sniper_Barrel_Gun.jpg width=500 border=0><BR><BR><IMG height=336 src=http://www.rap4.com/images/barrel/Tippmann_A5_22_Inch_Sniper_Barrel_Gun.jpg width=525 border=0><BR><BR><IMG height=307 src=http://www.rap4.com/images/T68_Gen5/T68_Gen5_TS_Side.jpg width=500 border=0><BR><B><FONT face=Arial size=2><BR><BR>
    </FONT></B></FONT>

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How Do I extract specific data from one cell to another?

    f a product description doesn't have a "Packages Includes" then how do I pull the description text from it?
    I don't have a clue; if they're all different, there has to some definitive aspect.

    You look at your examples and tell me.

  9. #9
    Registered User
    Join Date
    02-02-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How Do I extract specific data from one cell to another?

    Hello,
    Is there a formula that if the description doesn't include the "Packages" Section to then pull the plain text description from the cell? Eg In the above html description there is no Packages section so is it possible to then have the formula automatically pull the plain text below from it?

    "NEW .68 Caliber Tippmann X7 22 Inch Super Sniper Barrel. The high quality of these rifled barrels will give you supreme performance on the field! This new 22 Inch Super Sniper Barrel is designed for scenario paintball markers such as those from Tippmann, BT Paintball, and our Real Action Paintball T68! These barrels are designed to accept a handguard, front sight, rail system and even grenade launchers! These new Tactical Rifled Barrels are designed on the outside for looks and engineered on the inside to greatly improve accuracy and reliability. Available in 12, 14, 16, 18 and 22.<BR><BR>The Tippmann X7 22 Inch Super Sniper Barrel is key to converting a paintball marker for scenario play. It can be used as an attachment point for all manner of accessories, as the Tactical Rifled Barrel is scaled from military specs and takes most attachments without anything modifications. This barrel can accommodate rails, mounts, laser sights and grenade launchers without making any changes to the marker or the barrel.<BR><BR>This Tippmann X7 22 Inch Super Sniper Barrel will not just make your marker look and feel better, but will also enhance your accuracy as well!

    Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1