Excel - how to count cells with data

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Hi guys,

I've got an excel spreadsheet which lists the Channel 4 Top 100 films in column A, alongside a "yes" or a blank cell in column B to indicate whether I have seen the film.

For example:

A_________________B
Star Wars_________Yes
Godfather_________Yes
Some Like It Hot____
Alien_____________Yes
Gladiator__________Yes

Is there any way of having the last row in the table add up the number of 'yes's?

For example:

A_________________B
Star Wars_________Yes
Godfather_________Yes
Some Like It Hot____
Alien_____________Yes
Gladiator__________Yes
________________4

Basisally, the formula needs to check each cell for the word "yes" or even just having data present (as I'm not using a "No", just leaving it blank when I've not seen the film) and then count up how many it is.

Any help will be much appreciated and result it reps flying your way! :)

Thanks.
 
=SUM(B3:B1037) change the numbers to reflect the start cell and end cell - for example =SUM(B3:B100) - the more you add just change the last part of the sum
 
That doesn't work. Sum only works on numbers.

Use the counta function instead of sum. You could have found this yourself by typing "count entries" in excel help. I'm so sorry to find out both of your arms are broken...

:p
 
Awesome, got it sorted, thanks.

Arms fully healed now.

:)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back