Counting and multiplying

G

Guest

I am using the countif formula to count the Xs in each column -
What I really want is a total that counts the Xs in a column and then
multiplies that count by a number, i.e.:

Column Q x 1, Column R x 2, Column S x 3, Column T x 4, etc.
Can I add to the countif formula to count the Xs in column T and multiply by 4
so a total for column T would be 4 instead of 1.
P Q R S T
7 X
8 X
9 X
10 X
11 X

Thanks
 
G

Guest

Column Q x 1, Column R x 2, Column S x 3, Column T x 4

Think you could try something like this
in say, V1:
=COUNTIF(Q:Q,"x")*COLUMNS($A:A)
V1 returns the result for col Q.
Copy V1 across to Y1 to return the corresponding results for cols R to T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top