OK I may be asking Excel to do something it's really not designed for, but here goes anyway...
I have a workbook consisting of 5 worksheets:
A) Advertising Expenses
B) Revenue tied to specific ad campaigns
C) Pivot tables summarizing a & b
D) Line item detail (table calculating information about each ad campaign)
E) Daily breakdown (pivot tables) with chart
I have a lovely chart on sheet E that shows me the current month's trend, and I can easily plot a 5 day moving average to see how we're trending over the near term.
However, I'd also like to be able to show what the CURRENT 5-day MA is, next to each of the items on D, so that I can cancel or extend a specific ad campaign based on its current trend.
In other words, if I see a campaign has been running for several weeks but today its revenue has fallen below the 5-day MA, I want to end that ad campaign.
I can already see this visually on the chart, but I have to fiddle with the pivot tables too much on sheet E. I'd like to just see at a glance and maybe use conditional formatting to show me red & green next to each line item on sheet D.
This is probably better suited to a database application, but I'm working in Excel so... it is what it is.
Suggestions on how to accomplish this?
I can get a 5-day MA directly on sheets A & B using an array formula, but I think I need to somehow marry that to a VLOOKUP from sheet D in order to reference the calculation on an entire column of data from sheet A, to the single item on sheet D.
Does this make sense to anyone but me?
Thanks all!
Jonathan
I have a workbook consisting of 5 worksheets:
A) Advertising Expenses
B) Revenue tied to specific ad campaigns
C) Pivot tables summarizing a & b
D) Line item detail (table calculating information about each ad campaign)
E) Daily breakdown (pivot tables) with chart
I have a lovely chart on sheet E that shows me the current month's trend, and I can easily plot a 5 day moving average to see how we're trending over the near term.
However, I'd also like to be able to show what the CURRENT 5-day MA is, next to each of the items on D, so that I can cancel or extend a specific ad campaign based on its current trend.
In other words, if I see a campaign has been running for several weeks but today its revenue has fallen below the 5-day MA, I want to end that ad campaign.
I can already see this visually on the chart, but I have to fiddle with the pivot tables too much on sheet E. I'd like to just see at a glance and maybe use conditional formatting to show me red & green next to each line item on sheet D.
This is probably better suited to a database application, but I'm working in Excel so... it is what it is.
Suggestions on how to accomplish this?
I can get a 5-day MA directly on sheets A & B using an array formula, but I think I need to somehow marry that to a VLOOKUP from sheet D in order to reference the calculation on an entire column of data from sheet A, to the single item on sheet D.
Does this make sense to anyone but me?

Thanks all!
Jonathan