#1   Report Post  
Help with count if
 
Posts: n/a
Default count if

I need to count cells -than content text not numbers- with a defined
condition but the cells are not follow (not a range or cells). What
function/s can I use?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

you can use the countif function
for example if you have
.........A..............B
1.....cat..........dog
2....mouse.....cat
3.....cat........cat

and want to count all the cats in A1:B3
the formula would be
=COUNTIF(A1:B3,"cat")

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Help with count if" <Help with count wrote in
message ...
I need to count cells -than content text not numbers- with a defined
condition but the cells are not follow (not a range or cells). What
function/s can I use?



  #3   Report Post  
thanks
 
Posts: n/a
Default

THANKS FOR THE ANSWER!
IT TOTALLY WORKED!!

"JulieD" wrote:

you can use the countif function
for example if you have
.........A..............B
1.....cat..........dog
2....mouse.....cat
3.....cat........cat

and want to count all the cats in A1:B3
the formula would be
=COUNTIF(A1:B3,"cat")

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Help with count if" <Help with count wrote in
message ...
I need to count cells -than content text not numbers- with a defined
condition but the cells are not follow (not a range or cells). What
function/s can I use?




  #4   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback


"thanks" wrote in message
...
THANKS FOR THE ANSWER!
IT TOTALLY WORKED!!

"JulieD" wrote:

you can use the countif function
for example if you have
.........A..............B
1.....cat..........dog
2....mouse.....cat
3.....cat........cat

and want to count all the cats in A1:B3
the formula would be
=COUNTIF(A1:B3,"cat")

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Help with count if" <Help with count wrote
in
message ...
I need to count cells -than content text not numbers- with a defined
condition but the cells are not follow (not a range or cells). What
function/s can I use?






  #5   Report Post  
bj
 
Posts: n/a
Default

It depends on how many cells you want to count, If is less than 30 use
=count(a1,a3,a5,c4,t8,...)
if it is more than 30
select the cells using th control key
go to <insert<Name<define and give a unique name to the group (for
example "rover"
then use
=count(rover)
I do not know how many cells can be named in a group, you may have to use
several names of groups to get up to your total requirements
=count(rover,spot,reX)

"Help with count if" wrote:

I need to count cells -than content text not numbers- with a defined
condition but the cells are not follow (not a range or cells). What
function/s can I use?

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
Filter Count of Records Retrieved. amkazen Excel Discussion (Misc queries) 2 March 31st 05 10:03 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM
Count If Formula Mimi Excel Worksheet Functions 0 November 5th 04 11:55 AM
count based on two fields - need quickly JO Excel Worksheet Functions 1 November 1st 04 09:44 PM


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