Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Count If Help Please

My data is arranged as:
a b c d .......
aa8 ATWIL HOM 45.87 ...
aa8 ATWIL AUT 34.54 ...
aa8 ATWIL DFW 26.75 ...
bb9 BBQRE PKG 222.76 ...


I have already been able to sum the d column by column A in sheet 2. Now I
want to count the different codes in column B by column A. The key is I
don't want to count everything, but how many different codes there are in
column B for a particular code in column A.

All help is greatly appreciated.

Thanks

Cathy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 791
Default Count If Help Please

use the count if function with the match function:

=SUM(IF(FREQUENCY(MATCH(B2:B10,B2:B10,0),MATCH(B2: B10,B2:B10,0))0,1))
this example must be entered as array formulas (array formula: A formula
that performs multiple calculations on one or more sets of values, and then
returns either a single result or multiple results. Array formulas are
enclosed between braces { } and are entered by pressing CTRL+SHIFT+ENTER.).
Select each cell that contains a formula, press F2, and then press
CTRL+SHIFT+ENTER.




If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"cware" wrote:

My data is arranged as:
a b c d .......
aa8 ATWIL HOM 45.87 ...
aa8 ATWIL AUT 34.54 ...
aa8 ATWIL DFW 26.75 ...
bb9 BBQRE PKG 222.76 ...


I have already been able to sum the d column by column A in sheet 2. Now I
want to count the different codes in column B by column A. The key is I
don't want to count everything, but how many different codes there are in
column B for a particular code in column A.

All help is greatly appreciated.

Thanks

Cathy

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default Count If Help Please

I'm going to have to figure out the array thing because on first couple of
tries, this is not working for me. I'll try again later this week...thanks

"Michael" wrote:

use the count if function with the match function:

=SUM(IF(FREQUENCY(MATCH(B2:B10,B2:B10,0),MATCH(B2: B10,B2:B10,0))0,1))
this example must be entered as array formulas (array formula: A formula
that performs multiple calculations on one or more sets of values, and then
returns either a single result or multiple results. Array formulas are
enclosed between braces { } and are entered by pressing CTRL+SHIFT+ENTER.).
Select each cell that contains a formula, press F2, and then press
CTRL+SHIFT+ENTER.




If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"cware" wrote:

My data is arranged as:
a b c d .......
aa8 ATWIL HOM 45.87 ...
aa8 ATWIL AUT 34.54 ...
aa8 ATWIL DFW 26.75 ...
bb9 BBQRE PKG 222.76 ...


I have already been able to sum the d column by column A in sheet 2. Now I
want to count the different codes in column B by column A. The key is I
don't want to count everything, but how many different codes there are in
column B for a particular code in column A.

All help is greatly appreciated.

Thanks

Cathy

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
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 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 05:59 AM.

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"