CONDITIONAL COUNT of text

  • Thread starter Thread starter sbrogins
  • Start date Start date
S

sbrogins

I have an excel file with a location code in col A (in text) and attendence
(marked as F, H, or A) in cols E-I (corresponding with days of the week).
Each row is a person.

I need to count each type of attendence for each type of code for the whole
sheet. I've been screwing around with ifs, ands, sums, sumproducts. I must
be making it harder than it really is . . . .
 
This gives count of "F"'s that have a corresponding code of "A"
=SUMPRODUCT((A1:A5="A")*(E1:I5="F"))

Adjust range sizes as needed. I assumed you wanted a count of each
attendance regardless of what dat it was. For each day, simply limit the
width of the second array.
 
that far I got, but then got stuck trying to get the subtotals by the code in
column A. Luke's answer above does it, though, I just never had the syntax
quite right.
 

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