Count the number of Cells in one ROW with conditions

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

Guest

I have a set of data that I need to count the number of cells in Column D.
Here are the conditions, IF Column C contains the word Owner then count the
number of cells (in that same row) in Column D that contain the word Absent.
 
I have a set of data that I need to count the number of cells in Column D.
Here are the conditions, IF Column C contains the word Owner then count the
number of cells (in that same row) in Column D that contain the word Absent.


Assuming the data is in rows 2:100, then in D1 put the following
formula

=SUM((C2:C100="owner")*(D2:D100="absent"))

It's an array formula so you'll need to enter it with CTRL SHIFT and
Enter

HTH


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

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