Data Model Newbie - help with dates and cumulative reporting

bluejelly

New Member
Joined
May 31, 2017
Messages
4
Hi

I'm trying to learn how to use the data model effectively and I'm fairly confident in the basics of importing tables and joining them, adding columns etc. I'm struggling to understand how I can deal with things that change over time. I'm trying to solve the following problem using a data model.

I have two marketing campaigns - A and B. Both campaigns are run over a year and I have estimated how many users will register with each campaign. I also have an estimate of how much each user spends each month and this amount decreases over time.

I want to pass this information into my data model so that I can use a pivot / pivot chart to show the following for each Campaing:

1. Number of users at any given time (i.e. Sum of year to date registrations)
2. Monthly spend at any given time (Number of registrations x Monthly spend based on time between registration and reporting date)
3. Year to date spend (Cumulative spend based on monthly spend above)

I can probably work out how to do 1 and 3, but it's 2 that I'm really struggling with. If anyone can point me in the right directions it would be really appreciated.

Below the data I have. The format can be changed if required.

Sample Data.xlsx
ABCDEFGH
1Number of RegistrationsMonthly Spend
2Registration MonthCampaignRegistrationsMonths since registrationCampaignSpend
301/01/2021A100A50
401/02/2021A151A45
501/03/2021A152A41
601/04/2021A103A37
701/05/2021A154A33
801/06/2021A205A30
901/07/2021A156A27
1001/08/2021A207A24
1101/09/2021A158A22
1201/10/2021A209A20
1301/11/2021A1510A18
1401/12/2021A2011A16
1501/01/2021B100B50
1601/02/2021B121B40
1701/03/2021B142B32
1801/04/2021B163B26
1901/05/2021B184B21
2001/06/2021B205B17
2101/07/2021B226B14
2201/08/2021B247B11
2301/09/2021B268B9
2401/10/2021B289B7
2501/11/2021B3010B6
2601/12/2021B3211B5
Sheet1
Cell Formulas
RangeFormula
A16:A26,A4:A14A4=EDATE(A3,1)
H4:H14H4=ROUND(H3*0.9,0)
H16:H26H16=ROUND(H15*0.8,0)
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,816
Messages
6,181,138
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