I would like to count the # of times a value occurs in Col B base

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 2 colums - satisfaction rating (Col A), and importance rating (Col B)

I would like to count the # of times a value occurs in Col B based on its
related value in Col A

That is, for example, count the number of occurences of a high importance,
but low satisfaction.

Can anyone help?
 
Same formula as in your previous question, but let's not hard code the
variables.
Designate particular cells to contain the criteria, so that you can easily
change them without having to revise the formula itself.

Previous formula:

=SUMPRODUCT((A1:A100="High")*(B1:B100="High"))

So, let's say you use C1 for the Column A criteria, and C2 for the Column B
criteria:

=SUMPRODUCT((A1:A100=C1)*(B1:B100=C2))

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 
Thanks so much. Thats perfect!

RagDyer said:
Same formula as in your previous question, but let's not hard code the
variables.
Designate particular cells to contain the criteria, so that you can easily
change them without having to revise the formula itself.

Previous formula:

=SUMPRODUCT((A1:A100="High")*(B1:B100="High"))

So, let's say you use C1 for the Column A criteria, and C2 for the Column B
criteria:

=SUMPRODUCT((A1:A100=C1)*(B1:B100=C2))

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
 

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

Back
Top