I need a formula that will calculate the total length of tubingl of different diameters, knowing the specific length of many different pieces and their different diameters.
Column A contains the length of varying numbers of pieces of tubing.
Columns B, C and D each contain a different number that identifies the diameter of the various pieces (i.e., 1, .75 and .625)
The formula for Column B needs to select all the pieces in Column A that have the diameter listed in Column B, ignoring those that don't, and add them together. A similar formula is needed to sum the lengths of pieces with diameters shown in columns C and D.
Column A contains the length of varying numbers of pieces of tubing.
Columns B, C and D each contain a different number that identifies the diameter of the various pieces (i.e., 1, .75 and .625)
The formula for Column B needs to select all the pieces in Column A that have the diameter listed in Column B, ignoring those that don't, and add them together. A similar formula is needed to sum the lengths of pieces with diameters shown in columns C and D.