Hello,
I am building a template based on a auto-generated template coming out of our financial system. Right now the source data is
July August September
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[/TR]
[TR]
[TD]Area1[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]12[/TD]
[TD]15[/TD]
[TD]12[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Area2[/TD]
[TD]12[/TD]
[TD]18[/TD]
[TD]12[/TD]
[TD]18[/TD]
[TD]13[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Area3[/TD]
[TD]5[/TD]
[TD]9[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]4[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Area4[/TD]
[TD]2[/TD]
[TD]6[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]4[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
My end goal is to create an index match to return a table that looks like this:
Actuals
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]July[/TD]
[TD]August[/TD]
[TD]September[/TD]
[TD]October[/TD]
[TD]November[/TD]
[/TR]
[TR]
[TD]Area1[/TD]
[TD]10[/TD]
[TD]12[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area2[/TD]
[TD]12[/TD]
[TD]12[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area3[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area4[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Right now I have it set up to index match successfully on the first column for Actuals. I want to create another table for just the budget. I know I can do this with a simple link but I like having these checks in place. Right now my index match checks against a cell with "Actuals" against the column heading of the source table.
This is my current formula and it works well for the Actuals table:
=INDEX('Total'!$C$7:$AN$22,MATCH(Sheet1!$B8,'Total'!$A$7:$A$22,0),MATCH(Sheet1!E$4,'Total'!$C$4:$AN$4,0),MATCH($B$3,''!$C$5:$AN$5,0))
Only problem is I can't figure out how to return the budget column since the formula above is returning the first column automatically.
I've been searching for an answer but can't seem to come up with a solution.
I am building a template based on a auto-generated template coming out of our financial system. Right now the source data is
July August September
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[TD]Actual[/TD]
[TD]Budget[/TD]
[/TR]
[TR]
[TD]Area1[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]12[/TD]
[TD]15[/TD]
[TD]12[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Area2[/TD]
[TD]12[/TD]
[TD]18[/TD]
[TD]12[/TD]
[TD]18[/TD]
[TD]13[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]Area3[/TD]
[TD]5[/TD]
[TD]9[/TD]
[TD]8[/TD]
[TD]9[/TD]
[TD]4[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Area4[/TD]
[TD]2[/TD]
[TD]6[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]4[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
My end goal is to create an index match to return a table that looks like this:
Actuals
[TABLE="width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]July[/TD]
[TD]August[/TD]
[TD]September[/TD]
[TD]October[/TD]
[TD]November[/TD]
[/TR]
[TR]
[TD]Area1[/TD]
[TD]10[/TD]
[TD]12[/TD]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area2[/TD]
[TD]12[/TD]
[TD]12[/TD]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area3[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Area4[/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Right now I have it set up to index match successfully on the first column for Actuals. I want to create another table for just the budget. I know I can do this with a simple link but I like having these checks in place. Right now my index match checks against a cell with "Actuals" against the column heading of the source table.
This is my current formula and it works well for the Actuals table:
=INDEX('Total'!$C$7:$AN$22,MATCH(Sheet1!$B8,'Total'!$A$7:$A$22,0),MATCH(Sheet1!E$4,'Total'!$C$4:$AN$4,0),MATCH($B$3,''!$C$5:$AN$5,0))
Only problem is I can't figure out how to return the budget column since the formula above is returning the first column automatically.
I've been searching for an answer but can't seem to come up with a solution.