Feb 24 2020 04:55 PM
I am struggling trying to find a solution for this problem.
Scenario... Excel file with three worksheets titled 2018, 2019, and 2020.
Each worksheet has the following columns... seller ID, seller name, total sales, total units.
The rows contain a bunch of customers with the above information. Some customers are found on all three worksheets, some customers are only found on one or two worksheets. Every year we will add a new worksheet with that year's data.
What I'm trying to get... I need a report (pivot table, power bi, ?what ever) that will pull the following data.. customer ID, customer name and let's say the 2019 and 2020 total sales figures side by side. Ideally, I would like an additional column with the differential between the two years figures. Can anyone suggest something to do this comparison for me?
Feb 24 2020 11:33 PM
Feb 24 2020 11:48 PM
@jmorales A similar solution to what @Abiola1 suggested is demonstrated in the attached workbook. I've used the column headers as you specified. First add one column to each sheet with the year. Then put everything in one sheet and create a pivot table (as shown in the file). Add a "Calculated Item" for the difference between two years.