P
Peggi Stabler
I have 2 lists, one is for pipe diameter and one is for
pipe length. I need to sum the lengths according to
diameter and they can not be sorted any differently than
they are due to other parameters in the worksheet, so I'm
stuck with something like this:
"AL" "AM"
length size
18.2 18
274.0 24
48.5 18
185.7 24
295.0 30
65.5 18
277.1 30
187.4 36
99.1 18
250.4 36
What I want to end up with is two columns at the bottom of
the list that shows the size and the sum:
total length 18"
total length 24"
total length 30"
total length 36"
I thought maybe an IF Statement with some sort of lookup,
but wasn't sure how to have it calculate the sum.
I want the formula to search AM1:AM10 for all '18' and
then use the values in AL1:AL10 to sum them, then go on to
find '24' and sum those, etc.
Any ideas?
Thanks,
Peggi Stabler
pipe length. I need to sum the lengths according to
diameter and they can not be sorted any differently than
they are due to other parameters in the worksheet, so I'm
stuck with something like this:
"AL" "AM"
length size
18.2 18
274.0 24
48.5 18
185.7 24
295.0 30
65.5 18
277.1 30
187.4 36
99.1 18
250.4 36
What I want to end up with is two columns at the bottom of
the list that shows the size and the sum:
total length 18"
total length 24"
total length 30"
total length 36"
I thought maybe an IF Statement with some sort of lookup,
but wasn't sure how to have it calculate the sum.
I want the formula to search AM1:AM10 for all '18' and
then use the values in AL1:AL10 to sum them, then go on to
find '24' and sum those, etc.
Any ideas?
Thanks,
Peggi Stabler