Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Stuart
 
Posts: n/a
Default Counting data in a range

I want to count a specific data item from a range e.g. say the data below was
in column A and B on a spreadsheet:

Department Name
SALES John
SALES Fred
IT Sue
FINANCE Stu
SALES Jo
HR Steve

I want to count the number of times SALES occurs. I've tried DCOUNT/DCOUNTA
but haven't got this to work. Any help appreciated!
  #2   Report Post  
CLR
 
Posts: n/a
Default

=COUNTIF(A:A,"sales")

Vaya con Dios,
Chuck, CABGx3


"Stuart" wrote in message
...
I want to count a specific data item from a range e.g. say the data below

was
in column A and B on a spreadsheet:

Department Name
SALES John
SALES Fred
IT Sue
FINANCE Stu
SALES Jo
HR Steve

I want to count the number of times SALES occurs. I've tried

DCOUNT/DCOUNTA
but haven't got this to work. Any help appreciated!



  #3   Report Post  
Stuart
 
Posts: n/a
Default

Thanks CLR, that did the trick.

Is there a function that will count ALL values in the range i.e.
SALES = 3
IT = 1
HR = 1
FINANCE = 1

Thanks.

"CLR" wrote:

=COUNTIF(A:A,"sales")

Vaya con Dios,
Chuck, CABGx3


"Stuart" wrote in message
...
I want to count a specific data item from a range e.g. say the data below

was
in column A and B on a spreadsheet:

Department Name
SALES John
SALES Fred
IT Sue
FINANCE Stu
SALES Jo
HR Steve

I want to count the number of times SALES occurs. I've tried

DCOUNT/DCOUNTA
but haven't got this to work. Any help appreciated!




  #4   Report Post  
Damon Longworth
 
Posts: n/a
Default

To count all, try Count or CountA.

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Stuart" wrote in message
...
Thanks CLR, that did the trick.

Is there a function that will count ALL values in the range i.e.
SALES = 3
IT = 1
HR = 1
FINANCE = 1

Thanks.

"CLR" wrote:

=COUNTIF(A:A,"sales")

Vaya con Dios,
Chuck, CABGx3


"Stuart" wrote in message
...
I want to count a specific data item from a range e.g. say the data
below

was
in column A and B on a spreadsheet:

Department Name
SALES John
SALES Fred
IT Sue
FINANCE Stu
SALES Jo
HR Steve

I want to count the number of times SALES occurs. I've tried

DCOUNT/DCOUNTA
but haven't got this to work. Any help appreciated!






  #5   Report Post  
CLR
 
Posts: n/a
Default

You're welcome Stuart.............to count everything,

=COUNTA(A:A)

To count everything EXCEPT "sales"........

=COUNTA(A:A)-COUNTIF(A:A,"SALES")


Vaya con Dios,
Chuck, CABGx3


"Stuart" wrote in message
...
Thanks CLR, that did the trick.

Is there a function that will count ALL values in the range i.e.
SALES = 3
IT = 1
HR = 1
FINANCE = 1

Thanks.

"CLR" wrote:

=COUNTIF(A:A,"sales")

Vaya con Dios,
Chuck, CABGx3


"Stuart" wrote in message
...
I want to count a specific data item from a range e.g. say the data

below
was
in column A and B on a spreadsheet:

Department Name
SALES John
SALES Fred
IT Sue
FINANCE Stu
SALES Jo
HR Steve

I want to count the number of times SALES occurs. I've tried

DCOUNT/DCOUNTA
but haven't got this to work. Any help appreciated!






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
Data Range Mess Karen Charts and Charting in Excel 18 January 14th 06 03:34 PM
Pivot Table - max rows allowed in data range dmotika Excel Discussion (Misc queries) 2 May 26th 05 06:52 PM
data range props Steve M Excel Discussion (Misc queries) 0 April 11th 05 11:32 AM
data range properties baz Excel Discussion (Misc queries) 0 April 1st 05 09:53 AM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 04:30 AM


All times are GMT +1. The time now is 05:14 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"