Suggestions for Building a Historical Cost Database by Project

babyjwhale

New Member
Joined
Nov 6, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Overview:
I'm in the construction business, and I'm trying to build a database to keep track of project costs by project. I classify costs using a 7-tier hierarchy that is roughly 250 lines long, though many will not be used on each project. I want to build a dashboard that shows the historical cost data for various projects that I select/filter. I envision this being a pivot table or combination of pivot tables. Each project will have fact inputs (project name, project type, building size, land area, etc.) and cost data, with inputs that will be correctly "filed" by the 7-tier hierarchy structure. The cost data for each project will be reported as a whole dollar and as a dollar per square foot (pulled from project facts).

On the dashboard, I want to be able to filter all projects with multiple criteria (for example, show all Industrial projects that are greater than 50,000 square feet that were priced in the past 3 years), or I want to be able to simply multi-select by project ID for specific projects that I want to show at one time. I would also like to be able to show a variance between selected projects and a Baseline project. Ideally, the Baseline can be a drop down select of the project name.

Each project data set will be manually and statically input into a form with facts at the top and price inputs below. The input format will basically be a copy of the 7-tier hierarchy with manual inputs in a single column for whole dollar price inputs beside it. We may add 100 project pricing datasets per year.

I envision the "master sheet" to have three tabs: 1) the dashboard, 2) the master classification hierarchy, and 3) the data.

Specific Questions:
1) I don't know the best way to translate single cell facts to all pricing data for the project. I've considered Power Query or just adding table columns that reference the facts, since there are only a small number of them.
2) I'm thinking Power Pivot will be used to relate the 7-tier hierarchy and the dataset for rolling up the data. Am I correct in thinking this?
3) I'd don't know the best way to bring in a new project dataset to the master dataset. I lean towards using VBA or a macro to copy the project data into the master data and then clear out the project inputs (to allow for the next input). I don't think that I want to use Power Query referencing a folder with individual workbooks of project data because there will eventually be so many workbooks; plus, the data in the workbooks doesn't change, so static one-time is sufficient. Am I correct in thinking VBA? Any pointers on where to look to learn how to do this? I'm new in VBA...
4) I don't know how to create the Baseline selection for Variance. I want to be able to compare multiple projects to the Baseline selected project, not just one project, so I'm not sure how that calculation will work. I'm thinking that's a Power Pivot expression, but not sure. Any advice here is appreciated.

Simple Vision of Pivot Table:
Test File.xlsx
EFGHIJKLMNOP
6General Look of Desired Pivot Table
7Notes
8Project NameProject AProject AProject AProject AProject B
9Project TypeIndustrialIndustrialIndustrialIndustrialRetail
10Pricing TypeActualsBidBidBudgetActuals
11Pricing ID NoteFinalGC 1GC 2PrelimFinal
12hide; use for selectsPricing IDProject A - Actuals - FinalProject A - Bid - GC 1Project A - Bid - GC 2Project A - Budget - PrelimProject B - Actuals - Final
13use for filterPricing Date11/7/20249/6/20249/6/20245/1/20248/1/2023
14use for filterBuilding Size50,000 sf50,000 sf50,000 sf50,000 sf75,000 sf
15use for filterLand Area10.1 ac10.1 ac10.1 ac10.1 ac15.0 ac
16PricePrice / SFPricePrice / SFPricePrice / SFPricePrice / SFPricePrice / SF
17Price Input 1$ 150,0003.00 /sf$ 100,0002.00 /sf$ 110,0002.20 /sf$ 85,0001.70 /sf$ 225,0003.00 /sf
18Price Input 2$ 45,0000.90 /sf$ 20,0000.40 /sf$ 35,0000.70 /sf$ 50,0001.00 /sf$ 60,0000.80 /sf
19Price Input 3$ 2,900,00058.00 /sf$ 3,000,00060.00 /sf$ 2,750,00055.00 /sf$ 3,500,00070.00 /sf$ 4,000,00053.33 /sf
Sheet1
Cell Formulas
RangeFormula
G12,O12,M12,K12,I12G12=TEXTJOIN(" - ",TRUE,G8,G10:G11)
H17:H19,P17:P19,N17:N19,L17:L19,J17:J19H17=G17/G$14
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,862
Messages
6,181,464
Members
453,044
Latest member
rgbenson1

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