Macro to transpose unstructured data

Chouz06

New member
Local time
Today, 15:05
Joined
Jan 28, 2021
Messages
10
Hi All,

So i have been sent unstructured data which i need in a nice format to analyse. I have attached what i would like the data to look like (the part at the bottom of the image).

I dont know if there is any code which would help in getting my data to look in that format. Appreciate any help :)

Thank you!
1638035692209.png
 
to clarify - is this an excel or an access question?

If excel, have you looked at using the transpose or pivot functionality


For access, data should be stored per your bottom table, not the top one. To convert, consider using a union query
 
If you only have to do this once, the quickest way is to create an append query. Define the target table. Then run the query 7 times, once for each date column and adjust the value for the date field accordingly and change the source column for the hours
 
If the data is in MS Access then my transpose tool should work:-


Use coupon code t0cpajo to get a free copy .....

You will need to add an ID field to the top table .

If it's in Excel, I understand from previous similar questions here that there's something called "power query", which I understand can transpose.
 

Users who are viewing this thread

Back
Top Bottom