Convert raw imported data into a table format using formula/s not VBA

cazfromoz

New Member
Joined
Nov 8, 2011
Messages
46
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone
I import data from a web site that is formatted incorrectly for my needs. I have included two images below ( Raw Data Columns A-E) and then how I need the data to be formatted into a table format (Table Format Required Columns H-O) for vlookup purposes. (I currently do this task manually) Any formula solutions that this terrific forum can provide will be greatly appreciated.
Thank you
CazfromOz
 

Attachments

  • RawData.JPG
    RawData.JPG
    35.6 KB · Views: 10
  • TableFormatRequired.JPG
    TableFormatRequired.JPG
    82 KB · Views: 9

Some videos you may like

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

GraH

Well-known Member
Joined
Mar 22, 2020
Messages
707
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi,
I had the same problem last year, with the same source.
I did not solve it with formulae but with a power query solution. Schuld have a copy laying around somewhere. Let me know if you are interested in that solution or not.
Else be patient for someone performing some formula wit.
 

Dave87

Board Regular
Joined
Apr 22, 2020
Messages
107
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I'm pretty sure if can be done using a combinations of lookups, isblank, match, offsets etc. Can you send a fuller view of the RawData to understand how it transitions from Agriculture to Forestry etc
 

GraH

Well-known Member
Joined
Mar 22, 2020
Messages
707
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Or a more manual approach would be to select blank cells as of row 2 of the data, then type =A1 followed by CTRL + ENTER. VLOOKUPs to get the titles in the correct rows as labels. Shuffle columns as needed.
 

Watch MrExcel Video

Forum statistics

Threads
1,126,972
Messages
5,621,908
Members
415,865
Latest member
pxmike

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top