Hi Alan,
Please find attached the file, I have tried to create a pivot for the data in two sheets, however I cannot move the headers into rows or columns
Ex: I want the "subject" and "Name" to be placed in rows and marks in column
I have created a pivot for the data in a single sheet, and need a new pivot for the data in multiple sheet in the same format
Attached is your file with a proposed solution using Power Query. I uploaded each table to PQ. Appended one table to the other and then pivotted the data.
Did you debug your code first?http://www.cpearson.com/excel/DebuggingVBA.aspx - I could not do this as we are not supposed to download or open any links at office... My query is completely for office purpose.
About the power Query..... I have gone through the video, its really good and it is useful... Unfortunately we do not have MS office 2016 installed in office laptop.....
Power Query is available as a free add in download starting with Excel 2010. If you are using an earlier version-- otherwise google it and download. Talk to your IT department as this is a valid add-in to excel.