Hi all!
I'm in the conceptual phases of a large project, and I would like input on the methodology I'm considering.
The Objective: provide a tool (in Excel) that allows management to compare sales data, forecast data, and budget data. They need to be able to specify what data to compare by region, by city, by salesman, or any combination of these. The results that are returned need to be broken out into three different product categories.
I have sales data, forecast data, and budget data in similar (though not exactly alike) layouts. All three sources contain Region, City, and Salesperson identifiers on each row, followed by numbers for each of 12 periods. Actual data values are identical across all three sources in terms of syntax and formatting.
My Approach: I plan to use a "summary sheet" with a criteria section at the top. This section will contain drop-down lists that I create from all of the unique data values. When a user specifies criteria, these will be used to simultaneously populate criteria fields on my three data sheets (at this step I can adjust for columns that do not exist on one of the data sheets, are in different orders, etc). Then all three sheets will use these criteria to run an advanced filter on that sheets data.
Now I need to break the filtered results out into the three categories. I plan to use DSUM to do this, but it operates on ALL rows, not just filtered rows. So I am going to "bounce" the filtered results from all three data sheets to three hidden "bounce sheets". These three sheets will contain summary sections at the top that, coupled with three criteria ranges (one for each product category), will use DSUM to return the subtotals for the three categories.
Finally, I will return the values from these three summary sections to my original "summary sheet", where the necessary comparative calculations will be performed to show variances between actual sales, forecasted sales, and budgeted sales for the criteria the user specified.
Obviously this is a large undertaking, so I want the methodology to be as efficient as possible. I have successfully implemented all of the steps in this plan at a test level, but would like input before I proceed.
Any thoughts?
LOL
VBAjedi![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)
I'm in the conceptual phases of a large project, and I would like input on the methodology I'm considering.
The Objective: provide a tool (in Excel) that allows management to compare sales data, forecast data, and budget data. They need to be able to specify what data to compare by region, by city, by salesman, or any combination of these. The results that are returned need to be broken out into three different product categories.
I have sales data, forecast data, and budget data in similar (though not exactly alike) layouts. All three sources contain Region, City, and Salesperson identifiers on each row, followed by numbers for each of 12 periods. Actual data values are identical across all three sources in terms of syntax and formatting.
My Approach: I plan to use a "summary sheet" with a criteria section at the top. This section will contain drop-down lists that I create from all of the unique data values. When a user specifies criteria, these will be used to simultaneously populate criteria fields on my three data sheets (at this step I can adjust for columns that do not exist on one of the data sheets, are in different orders, etc). Then all three sheets will use these criteria to run an advanced filter on that sheets data.
Now I need to break the filtered results out into the three categories. I plan to use DSUM to do this, but it operates on ALL rows, not just filtered rows. So I am going to "bounce" the filtered results from all three data sheets to three hidden "bounce sheets". These three sheets will contain summary sections at the top that, coupled with three criteria ranges (one for each product category), will use DSUM to return the subtotals for the three categories.
Finally, I will return the values from these three summary sections to my original "summary sheet", where the necessary comparative calculations will be performed to show variances between actual sales, forecasted sales, and budgeted sales for the criteria the user specified.
Obviously this is a large undertaking, so I want the methodology to be as efficient as possible. I have successfully implemented all of the steps in this plan at a test level, but would like input before I proceed.
Any thoughts?
LOL
VBAjedi
![[swords] [swords] [swords]](/data/assets/smilies/swords.gif)