I would like to group column A handling apples together, and bananas together etc. The number of rows of apples and bananas etc. is variable as is the selection of what is in column A. Can have any number or type of each.
If there is a value in column C then want to total column C for apples and B for apples. So in the example apples would be B=0 and C=1. Totals for bananas would be B=2 and C=1. Since there is nothing in column C for carrots they would be ignored, or B=0 and C=0.
How can I write the formula that only totals things if there is an amount in C for each group of what is in A?
A B C
apple 0 1
apple 0 0
apple 0 0
banana 1 0
banana 0 0
banana 1 1
carrot 0 0
carrot 0 0
Results
apple 0 1
banana 2 1
carrot 0 0
Thanks, Cliff
Bookmarks