A Table into a Flat Table

DaRook1e

New Member
Joined
May 17, 2017
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I have been scratching my head how to transform a table with two headers into a flat table in excel. Below is an image of what I am trying to reproduce using VBA. I am actually a complete noob in terms of VBA and am trying to basically understand ready coades and adapt them to my needs as much as I can since I am unable to rite my on codes... not yet at least. Would be grateful if someone has done a similar task before and can help me out.

Thanks
DaRook1e
 

Attachments

  • Bildschirmfoto 2021-12-06 um 22.12.38.png
    Bildschirmfoto 2021-12-06 um 22.12.38.png
    71 KB · Views: 21

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi,

You can use power query for this type of transformation. Refer to link below


I hope it will help.

Cheers!!!
 
Upvote 0
Solution
Hi, I knew I could solve it with Power Query but I was wondering if VBA is not a better option. However, after watching the referenced video I am convinced that Power Query is the ultimate tool for this kind of data transformation. Moreover, after exploring the website and the offers I seriously consider to enroll any of the courses of the referenced instructor.

Thank you very much!
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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
Back
Top