I have been asked to put together a somewhat flexible forecasting model.
A very drafty version is attached. There are a bit less than 4800 data rows in the intact version. I've removed a lot of the years (only showing 2017-2020, original goes up to 2060) and races, etc... data for the draft version.
The data rows represent the population in each year from 2017 through 2060 for various demographic group parameters.
The 106 column headings: origin, race, ***, year, total_pop, pop_0 up to pop_100 (represent the number of people who have age 0 (just born) and up through being age 100 years old in that year).
My challenge:
Once the origin (Hispanic vs non-Hispanic or all), race (for now: all, black, white), *** (all, male, female), ages (this is another hard part!), launch year and # of years to forecast have been selected, the sheet needs to be populated with the right values from the data rows for continued use in the model.
I am asking for suggestions as to how to move forward with getting the data assembled in a row for further use in the forecast model.
I was thinking of somekind of vlookup and/or coupled with index/match but have also seen some suggestions for sql but I don't know sql and would like to avoid it. Some kind of pivot table also tugs at me but I've never felt warm and fuzzy to pivot tables but may be easiest/best solution?
Selecting the ages is a bit of a challenge as sometimes the forecaster will want to use from birth to a certain age or from an age forward (say, 60 +) or in certain increments (every 5 or 10 years of age).
Anyhow, any suggestions as to a relatively painless path forward are welcomed!
Thanks in advance!
Also posted at: http://www.ozgrid.com/forum/showthread.php?t=203605
Bookmarks