#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default COUNT IF

I have a table with Department, Practice and various amounts

For each department, practice combination I want to count the number of
amounts between 500-1000, 1001-1500, 1501-2000, etc.

I tried FREQUENCY, but found it fine when all I had to do was count for one
departments, but now that I need department/practice combinations, it seems
to be too cumbersome.

Thanks in advance.

Sample of data where column 1 is department, column 3 is practice and column
2 is amount

01
$3,000.00
17

01
$818.90
17

01
$1,098.20
17

01
$500.00
999

01
$500.00
999

01
$500.00
999

01
$540.00
999

01
$593.80
999

01
$628.52
999

01
$797.34
999

01
$797.34
999

01
$797.34
999

01
$1,157.35
999

01
$750.00
999

01
$1,343.25
999

01
$1,000.00
999

01
$3,355.80
999

01
$616.50
999

02
$540.00
4

02
$516.95
4

02
$538.89
4

02
$1,240.32
5



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default COUNT IF

SUMPRODUCT is used for multiple criteria.
If you set up your report on a new sheet:
- put your department names down the left in column A
- put your practices across the top in row 1
- in B2, enter
=SUMPRODUCT((Sheet1!$A$1:$A$100=$A2)*(Sheet1!$C$1: $C$100)=B$1)*(Sheet1!$B$1:$B$100))
- use the fill handle to drag that formula across and down
- I assumed your data is in rows 2 through 100...change to suit your data set

-KC
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Rich Mogy" wrote:

I have a table with Department, Practice and various amounts

For each department, practice combination I want to count the number of
amounts between 500-1000, 1001-1500, 1501-2000, etc.

I tried FREQUENCY, but found it fine when all I had to do was count for one
departments, but now that I need department/practice combinations, it seems
to be too cumbersome.

Thanks in advance.

Sample of data where column 1 is department, column 3 is practice and column
2 is amount

01
$3,000.00
17

01
$818.90
17

01
$1,098.20
17

01
$500.00
999

01
$500.00
999

01
$500.00
999

01
$540.00
999

01
$593.80
999

01
$628.52
999

01
$797.34
999

01
$797.34
999

01
$797.34
999

01
$1,157.35
999

01
$750.00
999

01
$1,343.25
999

01
$1,000.00
999

01
$3,355.80
999

01
$616.50
999

02
$540.00
4

02
$516.95
4

02
$538.89
4

02
$1,240.32
5




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default COUNT IF

I didn't make myself clear --

I want the count of the number of items by department/practice combination
between 500-1000, 1001-1500, 1501-2000, 2001-2500, 2501-3000 etc. So
department 01, practice 17 has three items, 1 in the 3000 range, 1 in the
1001-1500 range and 1 in the 500-1000 range.

Department 999 has 15 items 11 in the 500-1000, 2 in the 1001-1500 and 1 in
3000.


FREQUENCY would work, but is too labor intensive, so I thought if there was
something like DFREQUENCY, or some other way to do this, that would be
great.


"KC Rippstein hotmail com" <kcrippstein<atdot wrote in message
...
SUMPRODUCT is used for multiple criteria.
If you set up your report on a new sheet:
- put your department names down the left in column A
- put your practices across the top in row 1
- in B2, enter
=SUMPRODUCT((Sheet1!$A$1:$A$100=$A2)*(Sheet1!$C$1: $C$100)=B$1)*(Sheet1!$B$1:$B$100))
- use the fill handle to drag that formula across and down
- I assumed your data is in rows 2 through 100...change to suit your data
set

-KC
--
Please remember to indicate when the post is answered so others can
benefit
from it later.


"Rich Mogy" wrote:

I have a table with Department, Practice and various amounts

For each department, practice combination I want to count the number of
amounts between 500-1000, 1001-1500, 1501-2000, etc.

I tried FREQUENCY, but found it fine when all I had to do was count for
one
departments, but now that I need department/practice combinations, it
seems
to be too cumbersome.

Thanks in advance.

Sample of data where column 1 is department, column 3 is practice and
column
2 is amount

01
$3,000.00
17

01
$818.90
17

01
$1,098.20
17

01
$500.00
999

01
$500.00
999

01
$500.00
999

01
$540.00
999

01
$593.80
999

01
$628.52
999

01
$797.34
999

01
$797.34
999

01
$797.34
999

01
$1,157.35
999

01
$750.00
999

01
$1,343.25
999

01
$1,000.00
999

01
$3,355.80
999

01
$616.50
999

02
$540.00
4

02
$516.95
4

02
$538.89
4

02
$1,240.32
5






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default COUNT IF

I figured it out --thanks for the input it does exactly what I needed.

RM
"KC Rippstein hotmail com" <kcrippstein<atdot wrote in message
...
SUMPRODUCT is used for multiple criteria.
If you set up your report on a new sheet:
- put your department names down the left in column A
- put your practices across the top in row 1
- in B2, enter
=SUMPRODUCT((Sheet1!$A$1:$A$100=$A2)*(Sheet1!$C$1: $C$100)=B$1)*(Sheet1!$B$1:$B$100))
- use the fill handle to drag that formula across and down
- I assumed your data is in rows 2 through 100...change to suit your data
set

-KC
--
Please remember to indicate when the post is answered so others can
benefit
from it later.


"Rich Mogy" wrote:

I have a table with Department, Practice and various amounts

For each department, practice combination I want to count the number of
amounts between 500-1000, 1001-1500, 1501-2000, etc.

I tried FREQUENCY, but found it fine when all I had to do was count for
one
departments, but now that I need department/practice combinations, it
seems
to be too cumbersome.

Thanks in advance.

Sample of data where column 1 is department, column 3 is practice and
column
2 is amount

01
$3,000.00
17

01
$818.90
17

01
$1,098.20
17

01
$500.00
999

01
$500.00
999

01
$500.00
999

01
$540.00
999

01
$593.80
999

01
$628.52
999

01
$797.34
999

01
$797.34
999

01
$797.34
999

01
$1,157.35
999

01
$750.00
999

01
$1,343.25
999

01
$1,000.00
999

01
$3,355.80
999

01
$616.50
999

02
$540.00
4

02
$516.95
4

02
$538.89
4

02
$1,240.32
5






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 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
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 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 04:34 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"