From a pivot table, I am attempting to take each row of data and format it transposed with the headers from the pivot table present in each instance. Here is a link to a Google Sheet that has a sample pivot table as well as a sample of how I need to format the data.
Screenshot of how I am attempting to format the data from the table