Relating data from two different periods

Lamati

New Member
Joined
Nov 12, 2018
Messages
1
[FONT=&quot]Hi everyone,[/FONT]
[FONT=&quot]I am starting to use the relational and Power Pivot databases, so I do not have much knowledge.[/FONT]
[FONT=&quot]I have to make a comparative report between two different annual periods.[/FONT]
[FONT=&quot]The purpose of the report is to compare the [Gross Margin] of 2017 with the Accumulated [Gross Margin] of 2018, which can be for a specific month or for the accumulated of several selected months, to see the difference between them.[/FONT]
[FONT=&quot]I have two databases; one with total data for the year 2017 and another with disaggregated data for the months of 2018. In both databases [Gross Margin] is collected by [Customer], [Sales document], [Reporting Zone] and [Local Reporting Code].[/FONT]
[FONT=&quot]How can I relate the 2017 data with the 2018 data? I have tried to create a code by concatenating the numbers of [Customer], [Sales document], [Reporting Zone] and [Local Reporting Code], in order to relate one year with another. The problem is that by 2018 that code does not work for me, since there can be two lines that are the same because there are data for several months.[/FONT]
[FONT=&quot]I am blocked, since I do not know how to continue and I would be grateful if someone could shed some light on this issue or lend me their help.[/FONT]
[FONT=&quot]Regards,[/FONT]
[FONT=&quot]Lamati


[/FONT]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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