jjramirez85
New Member
- Joined
- May 21, 2014
- Messages
- 19
Hi, I have a summary table similar to the one below. The worksheet has column headers with multiple criteria consolidating into the single row criteria.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]FCST[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]October[/TD]
[TD]October[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The data is located in something such as the example below and includes all months for both FCST and Actual.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]FCST[/TD]
[TD]FCST[/TD]
[TD]Actual[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]October[/TD]
[TD]November[/TD]
[TD]October[/TD]
[TD]November[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]62[/TD]
[TD]21[/TD]
[TD]10[/TD]
[TD]68[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]35[/TD]
[TD]32[/TD]
[TD]62[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]32[/TD]
[TD]12[/TD]
[TD]28[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]94[/TD]
[TD]24[/TD]
[TD]63[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]82[/TD]
[TD]35[/TD]
[TD]92[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]82[/TD]
[TD]95[/TD]
[TD]45[/TD]
[TD]57[/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What formula is best to be used in this situation? I have tried hlookup, concantenate, and sumifs. I cant seem to get it right. I had it solved in the past, but cant seem to remember.
In general, I am wanting to summarize the account data by consolidating the accounts based on the matching headers,
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]FCST[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]October[/TD]
[TD]October[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The data is located in something such as the example below and includes all months for both FCST and Actual.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]FCST[/TD]
[TD]FCST[/TD]
[TD]Actual[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]October[/TD]
[TD]November[/TD]
[TD]October[/TD]
[TD]November[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[TD]2017[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]62[/TD]
[TD]21[/TD]
[TD]10[/TD]
[TD]68[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]35[/TD]
[TD]32[/TD]
[TD]62[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD]32[/TD]
[TD]12[/TD]
[TD]28[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]94[/TD]
[TD]24[/TD]
[TD]63[/TD]
[TD]54[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]82[/TD]
[TD]35[/TD]
[TD]92[/TD]
[TD]65[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD]82[/TD]
[TD]95[/TD]
[TD]45[/TD]
[TD]57[/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What formula is best to be used in this situation? I have tried hlookup, concantenate, and sumifs. I cant seem to get it right. I had it solved in the past, but cant seem to remember.
In general, I am wanting to summarize the account data by consolidating the accounts based on the matching headers,