ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count how many "name" in a column (https://www.excelbanter.com/excel-worksheet-functions/34929-count-how-many-%22name%22-column.html)

pigbelly

Count how many "name" in a column
 

Hi

I have a problem

I have a column like:


Camera
Robot
Robot
Camera
Car
Camera


I want to extract how many Cameras I have in that column, in this case
it would be 3.
I tried to use DCOUNT but nothing happens...The syntax just get put in
the column like text no wrong messeges or anything..

/Tommie


--
pigbelly
------------------------------------------------------------------------
pigbelly's Profile: http://www.excelforum.com/member.php...o&userid=25147
View this thread: http://www.excelforum.com/showthread...hreadid=386414


Ruthki


try



=COUNTIF(A1:A10,"camera")

where a1:a10 is the range where your data is held.


--
Ruthki
------------------------------------------------------------------------
Ruthki's Profile: http://www.excelforum.com/member.php...o&userid=24503
View this thread: http://www.excelforum.com/showthread...hreadid=386414


pigbelly


Oki

as always I get a error:

I wrote this
=COUNTIF(B4:B8,"Kamera")

and got "the formula you typed contains an error"
This happens to me often, even if I paste stuff from the help meny!


/Tommie


--
pigbelly
------------------------------------------------------------------------
pigbelly's Profile: http://www.excelforum.com/member.php...o&userid=25147
View this thread: http://www.excelforum.com/showthread...hreadid=386414


pigbelly


Used the insert function tool

=COUNTIF(B4:B8;"Kamera")

I see now that I missed the ";" I had a ,

sorry

and thank you

/Tommie


--
pigbelly
------------------------------------------------------------------------
pigbelly's Profile: http://www.excelforum.com/member.php...o&userid=25147
View this thread: http://www.excelforum.com/showthread...hreadid=386414


Bob Phillips

Just use COUNTIF

=COUNTIF(A:A,"Camera")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"pigbelly" wrote in
message ...

Hi

I have a problem

I have a column like:


Camera
Robot
Robot
Camera
Car
Camera


I want to extract how many Cameras I have in that column, in this case
it would be 3.
I tried to use DCOUNT but nothing happens...The syntax just get put in
the column like text no wrong messeges or anything..

/Tommie


--
pigbelly
------------------------------------------------------------------------
pigbelly's Profile:

http://www.excelforum.com/member.php...o&userid=25147
View this thread: http://www.excelforum.com/showthread...hreadid=386414





All times are GMT +1. The time now is 07:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com