Count number of cells and total in one column, based on another co
See if these work for you:
Count:
=SUMPRODUCT(--(RIGHT($C$1:$C$10,2)="=T"),--(D1:D10<""))
Sum:
=SUMPRODUCT(--(RIGHT($C$1:$C$10,2)="=T"),D1:D10)
HTH,
Elkar
"Pierre" wrote:
Have in column C values, some of which end in =T.
I have data in columns D through H some values(numbers).
I'd like to do two things:
Obtain the number of cells that are in each column that have a
corresponding value that ends with a =T in column C.
Also, obtain the total of the values of the cells in each column, also
of which have a corresponding value that ends =T in column C
Tried messing with sumproduct, but haven't hit on the right formula.
TIA for thoughts.
Pierre
|