I have the following data and am trying to find the sum based on the following inputs:
1. Start Date (e.g. Jan-17)
2. End Date (e.g. Mar-17)
3. Row Header (A)
What formula can I build that would be dynamic based on my three inputs and output the sum?
[TABLE="width: 1127"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"]Jan-17[/TD]
[TD="align: right"]Feb-17[/TD]
[TD="align: right"]Mar-17[/TD]
[TD="align: right"]Apr-17[/TD]
[TD="align: right"]May-17[/TD]
[TD="align: right"]Jun-17[/TD]
[TD="align: right"]Jul-17[/TD]
[TD="align: right"]Aug-17[/TD]
[TD="align: right"]Sep-17[/TD]
[TD="align: right"]Oct-17[/TD]
[TD="align: right"]Nov-17[/TD]
[TD="align: right"]Dec-17[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]$2,000[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[/TR]
[TR]
[TD]Total Costs[/TD]
[TD="align: right"]$1,214[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[/TR]
</tbody>[/TABLE]
Thanks!
1. Start Date (e.g. Jan-17)
2. End Date (e.g. Mar-17)
3. Row Header (A)
What formula can I build that would be dynamic based on my three inputs and output the sum?
[TABLE="width: 1127"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"]Jan-17[/TD]
[TD="align: right"]Feb-17[/TD]
[TD="align: right"]Mar-17[/TD]
[TD="align: right"]Apr-17[/TD]
[TD="align: right"]May-17[/TD]
[TD="align: right"]Jun-17[/TD]
[TD="align: right"]Jul-17[/TD]
[TD="align: right"]Aug-17[/TD]
[TD="align: right"]Sep-17[/TD]
[TD="align: right"]Oct-17[/TD]
[TD="align: right"]Nov-17[/TD]
[TD="align: right"]Dec-17[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]$2,000[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$780[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[TD="align: right"]-$2,000[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[TD="align: right"]-$300[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[TD="align: right"]-$50[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[TD="align: right"]-$20[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[TD="align: right"]-$117[/TD]
[/TR]
[TR]
[TD]Total Costs[/TD]
[TD="align: right"]$1,214[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$1,567[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[TD="align: right"]-$2,787[/TD]
[/TR]
</tbody>[/TABLE]
Thanks!