Hi All,
I'm trying to sum a range of data with multiple vertical and horizontal criteria. Below is a table with sample data. For example, I'd like to sum Facebook Impressions if the date is between 9/26 and 9/28. All of it needs to change dynamically based on reference cells.
[TABLE="width: 594"]
<colgroup><col><col span="8"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]26-Sep[/TD]
[TD="align: right"]27-Sep[/TD]
[TD="align: right"]28-Sep[/TD]
[TD="align: right"]29-Sep[/TD]
[TD="align: right"]30-Sep[/TD]
[TD="align: right"]1-Oct[/TD]
[TD="align: right"]2-Oct[/TD]
[/TR]
[TR]
[TD]Impressions[/TD]
[TD]Facebook[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]510[/TD]
[TD="align: right"]520[/TD]
[TD="align: right"]530[/TD]
[TD="align: right"]540[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD]Clicks[/TD]
[TD]Facebook[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]56[/TD]
[/TR]
[TR]
[TD]Spend[/TD]
[TD]Facebook[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD]Impressions[/TD]
[TD]Twitter[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]510[/TD]
[TD="align: right"]520[/TD]
[TD="align: right"]530[/TD]
[TD="align: right"]540[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD]Clicks[/TD]
[TD]Twitter[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]56[/TD]
[/TR]
[TR]
[TD]Spend[/TD]
[TD]Twitter[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]26
[/TD]
[/TR]
</tbody>[/TABLE]
Any thoughts? This one is killing me.
Thanks!
I'm trying to sum a range of data with multiple vertical and horizontal criteria. Below is a table with sample data. For example, I'd like to sum Facebook Impressions if the date is between 9/26 and 9/28. All of it needs to change dynamically based on reference cells.
[TABLE="width: 594"]
<colgroup><col><col span="8"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]26-Sep[/TD]
[TD="align: right"]27-Sep[/TD]
[TD="align: right"]28-Sep[/TD]
[TD="align: right"]29-Sep[/TD]
[TD="align: right"]30-Sep[/TD]
[TD="align: right"]1-Oct[/TD]
[TD="align: right"]2-Oct[/TD]
[/TR]
[TR]
[TD]Impressions[/TD]
[TD]Facebook[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]510[/TD]
[TD="align: right"]520[/TD]
[TD="align: right"]530[/TD]
[TD="align: right"]540[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD]Clicks[/TD]
[TD]Facebook[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]56[/TD]
[/TR]
[TR]
[TD]Spend[/TD]
[TD]Facebook[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD]Impressions[/TD]
[TD]Twitter[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]510[/TD]
[TD="align: right"]520[/TD]
[TD="align: right"]530[/TD]
[TD="align: right"]540[/TD]
[TD="align: right"]550[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD]Clicks[/TD]
[TD]Twitter[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]51[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]56[/TD]
[/TR]
[TR]
[TD]Spend[/TD]
[TD]Twitter[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]26
[/TD]
[/TR]
</tbody>[/TABLE]
Any thoughts? This one is killing me.
Thanks!