# Counting attendance

#### rafuk73

##### Banned
Hi, all!

I have a table which looks like this:

.....A.........!......B.........!........C....... !.........D...........!.......E........!
1..............!.1 June 2009! 14 Aug 2009!...6 June 2010...!..2 July 2010!
2...Pete.....!...Attended..!.................!....Attended......!.................!
3...John.....!.................!..Attended...!....Attended......!.................!
4...Lisa......!...Attended..!..Attended...!......................!...Attended..!

I need to add two columns after the names with a formula which would count how many times eact person attended the event in 2009 and 2010.
I need to keep the range in all formulas the same as the table can expand with new dates, so for example (Pete's attendace) =COUNTIF (B2:C2, "Attended") for 2009 and =COUNTIF (D2:E2, "Attended") for 2010 are not good enough. I need to have the same range for all formulas.

Kind regards

Last edited:

### Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

#### rafuk73

##### Banned
Come on, guys. Does it mean, that it is impossible to find the solution??

1,106,606
Messages
5,512,390
Members
408,889
Latest member
2vbr