#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Count If

I would like to setup a count function that counts by position for specific
type. For example:
Position Type
1 a
2 a
3 c
2 c
3 b
1 a
Function Calculates:
1a = 2
2a = 1
3a = 0
1b = 0
And so on. How can I setup the calculation functions?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Count If

One way
In C2: =SUMPRODUCT((A$2:A$100=A2)*(B$2:B$100=B2))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"KLock" wrote:
I would like to setup a count function that counts by position for specific
type. For example:
Position Type
1 a
2 a
3 c
2 c
3 b
1 a
Function Calculates:
1a = 2
2a = 1
3a = 0
1b = 0
And so on. How can I setup the calculation functions?
Thanks

Reply
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
Count Employee Work Time - Don't Count Duplicates J Excel Worksheet Functions 3 May 1st 07 10:47 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 01:49 PM.

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

About Us

"It's about Microsoft Excel"