LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
BaseballFan
 
Posts: n/a
Default Count occurances of multiple values

I am trying to analyze a list of baseball teams and the number of players
they have at each position. For example, I have two columns that I am
working with: column 1 is the team name, and column 2 is the position. So,
my datasheet looks like this:
Team Position
Bears 1B
Bears 1B
Bears 1B
Bears 2B
Bears SS
Lions 1B
Lions Catcher
Lions SS
Lions P

I want to count how many times the string "1B" appears for the team,
"Bears". I'm using the formula example from Office Online
(http://office.microsoft.com/en-us/as...561181033.aspx):
=SUM(IF(A2:A9="Bears",IF(B2:B9="1B",1,0)))
But it returns a value of zero... as you can see, it should return a value
of "3". Any thoughts?

Jimmy
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sum values in multiple worksheets Robert Lawrence Excel Worksheet Functions 3 January 29th 05 05:15 AM
Multiple X-Axis Values Rob Herrmann Charts and Charting in Excel 2 January 23rd 05 10:57 PM
how do i count values based on multiple criteria sean Excel Worksheet Functions 2 January 7th 05 01:00 AM
Count number of Unique values Alan Excel Worksheet Functions 4 January 6th 05 08:05 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 03:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"