Hi excel help community,
I have a sheet that collects our planned scaffold tower quantities by type for each bridge we have with an associated date range of use.
I would like to sum scaffold type in use by month (see below) to enable us to produce a histogram of scaffold type over several years.
As we have 30 bridges over many years, I'm trying to avoid multiple nested if functions.
What is the most efficient formula to rationalize the data?
[TABLE="width: 1117"]
<colgroup><col><col><col span="6"><col><col span="2"><col span="4"></colgroup><tbody>[TR]
[TD="colspan: 8"]Current Data[/TD]
[TD][/TD]
[TD="colspan: 6"]Seeking to produce from it[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]COL A[/TD]
[TD]COL B[/TD]
[TD]COL C[/TD]
[TD]COL D[/TD]
[TD]COL E[/TD]
[TD]COL F[/TD]
[TD]COL G[/TD]
[TD][/TD]
[TD][/TD]
[TD]COL A[/TD]
[TD]COL B[/TD]
[TD]COL C[/TD]
[TD]COL D[/TD]
[TD]COL E[/TD]
[/TR]
[TR]
[TD] ROW 1[/TD]
[TD]Scaffold Type[/TD]
[TD]Bridge 1 QTY[/TD]
[TD]Bridge 1 Start[/TD]
[TD]Bridge 1 Finish[/TD]
[TD]Bridge 2 QTY[/TD]
[TD]Bridge 2 Start[/TD]
[TD]Bridge 2 Finish[/TD]
[TD][/TD]
[TD] ROW 1[/TD]
[TD]Scaffold Type[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[/TR]
[TR]
[TD] ROW 2[/TD]
[TD]Type 1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Apr-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 2[/TD]
[TD]Type 1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] ROW 3[/TD]
[TD]Type 2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD] ROW 3[/TD]
[TD]Type 2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD] ROW 4[/TD]
[TD]Type 3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD] ROW 4[/TD]
[TD]Type 3[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] ROW 5[/TD]
[TD]Type 4[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 5[/TD]
[TD]Type 4[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD] ROW 6[/TD]
[TD]Type 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 6[/TD]
[TD]Type 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] ROW 7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a sheet that collects our planned scaffold tower quantities by type for each bridge we have with an associated date range of use.
I would like to sum scaffold type in use by month (see below) to enable us to produce a histogram of scaffold type over several years.
As we have 30 bridges over many years, I'm trying to avoid multiple nested if functions.
What is the most efficient formula to rationalize the data?
[TABLE="width: 1117"]
<colgroup><col><col><col span="6"><col><col span="2"><col span="4"></colgroup><tbody>[TR]
[TD="colspan: 8"]Current Data[/TD]
[TD][/TD]
[TD="colspan: 6"]Seeking to produce from it[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]COL A[/TD]
[TD]COL B[/TD]
[TD]COL C[/TD]
[TD]COL D[/TD]
[TD]COL E[/TD]
[TD]COL F[/TD]
[TD]COL G[/TD]
[TD][/TD]
[TD][/TD]
[TD]COL A[/TD]
[TD]COL B[/TD]
[TD]COL C[/TD]
[TD]COL D[/TD]
[TD]COL E[/TD]
[/TR]
[TR]
[TD] ROW 1[/TD]
[TD]Scaffold Type[/TD]
[TD]Bridge 1 QTY[/TD]
[TD]Bridge 1 Start[/TD]
[TD]Bridge 1 Finish[/TD]
[TD]Bridge 2 QTY[/TD]
[TD]Bridge 2 Start[/TD]
[TD]Bridge 2 Finish[/TD]
[TD][/TD]
[TD] ROW 1[/TD]
[TD]Scaffold Type[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[/TR]
[TR]
[TD] ROW 2[/TD]
[TD]Type 1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Apr-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 2[/TD]
[TD]Type 1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] ROW 3[/TD]
[TD]Type 2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]Mar-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD] ROW 3[/TD]
[TD]Type 2[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD] ROW 4[/TD]
[TD]Type 3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]Apr-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD] ROW 4[/TD]
[TD]Type 3[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD] ROW 5[/TD]
[TD]Type 4[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]May-19[/TD]
[TD="align: right"]Jun-19[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 5[/TD]
[TD]Type 4[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD] ROW 6[/TD]
[TD]Type 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 6[/TD]
[TD]Type 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] ROW 7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] ROW 7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]