Hi All,
I am trying to use HLOOKUP to find a column and then return the entire array within that column, so that I can combine it with SUMPRODUCT from another "static column".
To make it more difficult, as I work to the right of my spread sheet I will eventually need to grow each figure in that "static column" by a growth rate each year. Is there a way to incorporate this into the above equation?
To be more clear, I have two tabs. The first tab has 5 columns representing Years 1 through 5. In each year, I have ~10 rows for Job positions - assistant, analyst, president etc. Each year, the number of Jobs changes (grows, shrinks, whatever), so 1 president, 2 analysts etc. Let's call this the Annual Positions table. Still on this first tab, I have a 6th column which is the corresponding salary for each position. I also have a 7th column that is the annual growth rate for that salary.
In the second tab, I have MONTHLY projections, so 5 years times 12 months = # of columns. Above each month, I've labeled the Year it represents. On this tab, I have a row for "Salaries". Since this tab is Monthly, I want to grab the Year the month falls under (so, the 13th column will be January in YEAR 2). I then want to HLOOKUP the Annual Positions table from the first tab, grab the whole array underneath the reference year, and then SUMPRODUCT it with the Salary data from Column 6 on Tab 1. As mentioned, I also need to find a way to grow each of the salary rows by the % growth rate in column 7 of Tab 1. So as I get to the 13th row in Tab 2 (or 13th month) each salary needs to grow by % before being SUMPRODUCT with number of positions. In the 25th row (January of Year 3), the growth rate needs to be compounded to account for it being 2 years forward.
This might sound confusing, but please let me know if you have any questions. I appreciate the help. I've been banging my head against the desk. Thanks in advance!
I am trying to use HLOOKUP to find a column and then return the entire array within that column, so that I can combine it with SUMPRODUCT from another "static column".
To make it more difficult, as I work to the right of my spread sheet I will eventually need to grow each figure in that "static column" by a growth rate each year. Is there a way to incorporate this into the above equation?
To be more clear, I have two tabs. The first tab has 5 columns representing Years 1 through 5. In each year, I have ~10 rows for Job positions - assistant, analyst, president etc. Each year, the number of Jobs changes (grows, shrinks, whatever), so 1 president, 2 analysts etc. Let's call this the Annual Positions table. Still on this first tab, I have a 6th column which is the corresponding salary for each position. I also have a 7th column that is the annual growth rate for that salary.
In the second tab, I have MONTHLY projections, so 5 years times 12 months = # of columns. Above each month, I've labeled the Year it represents. On this tab, I have a row for "Salaries". Since this tab is Monthly, I want to grab the Year the month falls under (so, the 13th column will be January in YEAR 2). I then want to HLOOKUP the Annual Positions table from the first tab, grab the whole array underneath the reference year, and then SUMPRODUCT it with the Salary data from Column 6 on Tab 1. As mentioned, I also need to find a way to grow each of the salary rows by the % growth rate in column 7 of Tab 1. So as I get to the 13th row in Tab 2 (or 13th month) each salary needs to grow by % before being SUMPRODUCT with number of positions. In the 25th row (January of Year 3), the growth rate needs to be compounded to account for it being 2 years forward.
This might sound confusing, but please let me know if you have any questions. I appreciate the help. I've been banging my head against the desk. Thanks in advance!