Efficient way to convert table into database friendly data

gwoolley0302

Board Regular
Joined
May 13, 2014
Messages
55
Hello,

To help build some effective power pivot tables, I *think* I need to convert my data from Format A to Format B (demonstrated below). You can also see my spreadsheet that my data currently feeds through into Format A in sheet number 5.

If I wanted to translate sheet 5 into a format like shown in Table B below - is there a quick way to do this? (I can't see past a very laborious and time consuming method!!)

Any help is most appreciated.

Thanks, Greg

Table A
Student IDMetric 1 (Baseline score)Metric 1 (Post-programme score)Metric 1 (change in score)Metric 2 (Baseline score)Metric 2 (Post programme score)Metric 2 (Change in score)Metric 3 (etc...)
xxxx001022110
xxxx002110121

Table B
Student IDScore typeMetric 1Metric 2
xxxx001Baseline01
xxxx001Post programme21
xxxx001Change20
xxxx002Baseline11
xxxx002Post programme12
xxxx002Change01
 
or like this?

sandy
GHIJKLMN
2ValueValues
3012
4"Parent" Technical AreaTechnical Area sub-categoryCount of ValueCount of Value2Count of ValueCount of Value2Count of ValueCount of Value2
5AccuracyCVC200.94%200.94%602.82%
6CVCC0.00%401.88%602.82%
7Di/tripgraphs0.00%602.82%602.82%
8Tricky words602.82%0.00%1205.64%
9ComprehensionAble to answer questions on text602.82%1205.64%0.00%
10Able to make inferences200.94%401.88%803.76%
11Able to remember repeated words200.94%602.82%803.76%
12Can re-tell story200.94%401.88%401.88%
13Enjoyment / engagementConfident reader200.94%401.88%803.76%
14Engaged reader & enjoys book210.99%582.73%793.71%
15Focus time301.41%602.82%904.23%
16Reading record signed301.41%301.41%904.23%
17FluencyAble to sound out & blend10.05%592.77%592.77%
18Reads whole sentences fluently602.82%1205.64%0.00%
19Uses expression0.00%602.82%602.82%
TEST
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi again. Sorry, it is more like the second option I'm looking to create. I actually think I've managed to create what I need in a pivot table - see here. On reflection I don't think I need numbers and percentages.

However,I would really appreciate on two other questions that I have come across in my workings - see Sheet Pivot test (questions in red). Any thoughts?

And then one final question is, as I have updated table names in the document I understand I need to update these in the Power Query in order to be able to refresh. how do I do this?
s666-PQ-Impact system 2019.11.15a-ver4.xlsx
Thank you so much!!
 
Upvote 0
IMHO new thread because these two questions are different then question from OP
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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