+ Reply to Thread
Results 1 to 3 of 3

Raw HTML to table

  1. #1
    Registered User
    Join Date
    03-01-2019
    Location
    Manchester, England
    MS-Off Ver
    Excel for Mac 15.38
    Posts
    2

    Raw HTML to table

    Hello World,

    Greetings from Manchester, England.

    If someone would be kind enough to supply me with knowledge of a formula based approach to my problem, I promise to pay your kindness forward to some unsuspecting stranger IRL.

    I have put my excel file into a google drive folder at the bottom of this post. I have spent a good 24 hours on this and I can usually make excel submit to my will. (usually).

    I have an online restaurant menu, complete with products, their names, descriptions, variances and prices.

    I copy and paste the raw HTML code into an excel sheet. In another sheet i catch instances of the information i want from the lines of code. In another sheet i remove the blanks and rank their instance.

    The tricky part comes with trying to get this information into a final and legible table.

    Where for example:

    Product #x - 1 Product name - 1 description - 0 variance - 1 price
    Product #y - 1 Product name - 0 description - 2 variance - 2 price
    (On this line product y needs to be carried, listing the 2nd instances).

    The best case scenario is like the above or the attached image -

    The use case - I want to parse 200+ menus to find at a glance prices for all of their items then put all of this data into one beautiful mammoth Microsoft Power BI report.

    I do not think I will find a solution myself. Especially considering that if you were to quickly analyse the data in the sheet "Paste Values & Remove Blanks" you will find on row 616 a sauce product with 23 variations.

    Please kindly help me if able.

    Adam

    **drive.google.com/open?id=1DKCNWtgSJ57T0h9w07Qhz5FLH422Mxvf**
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,937

    Re: Raw HTML to table

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Some members are reluctant to follow external links.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-01-2019
    Location
    Manchester, England
    MS-Off Ver
    Excel for Mac 15.38
    Posts
    2

    Re: Raw HTML to table

    Hi AliGW,

    Cheers for the info, i thought I was limited as I am a new user to the forum. Got by all these years!

    It's less of a sample workbook and more of the entire thing. It does follow a pretty easy to understand pattern though.

    Adam
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extract html table data from specifi table only
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2016, 02:34 PM
  2. VBA to Import HTML Table Locally Stored HTML file to excel
    By ermengard in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-09-2015, 10:48 AM
  3. Reproducing HTML Table
    By pajo60 in forum Excel General
    Replies: 17
    Last Post: 09-24-2014, 06:28 PM
  4. HTML Table Navigate
    By Jimbo77 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2014, 03:52 PM
  5. [SOLVED] HTML Table import
    By Ryan Hafey in forum Excel General
    Replies: 2
    Last Post: 08-03-2006, 01:10 AM
  6. [SOLVED] Import HTML table
    By Bill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2006, 01:35 PM
  7. [SOLVED] html table - please assist
    By Mark G. in forum Excel General
    Replies: 6
    Last Post: 07-09-2005, 12:05 PM

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