ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting Values (https://www.excelbanter.com/excel-worksheet-functions/82084-counting-values.html)

crawshawpaul

Counting Values
 
Can anybody advise me on the formula for the following:

I am wanting to auto count values in a cell range e.g A1:A10

The data in these cells will only be a "X" OR "Y", i only want excel to
count the "Y" values & ignore the "X" values?
Any suggestions or solutions would be most appreciated.

Kind Regards Paul

tony h

Counting Values
 

The countif function should do it


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=530837


Ardus Petus

Counting Values
 
=COUNTIF(A1:A10,"Y")

HTH
--
AP

"crawshawpaul" a écrit dans le
message de ...
Can anybody advise me on the formula for the following:

I am wanting to auto count values in a cell range e.g A1:A10

The data in these cells will only be a "X" OR "Y", i only want excel to
count the "Y" values & ignore the "X" values?
Any suggestions or solutions would be most appreciated.

Kind Regards Paul




crawshawpaul

Counting Values
 
Hey thanks alot

Probably a stupid question to ask, so all the more thanks for your reply.

Kind Regards Paul

"Ardus Petus" wrote:

=COUNTIF(A1:A10,"Y")

HTH
--
AP

"crawshawpaul" a écrit dans le
message de ...
Can anybody advise me on the formula for the following:

I am wanting to auto count values in a cell range e.g A1:A10

The data in these cells will only be a "X" OR "Y", i only want excel to
count the "Y" values & ignore the "X" values?
Any suggestions or solutions would be most appreciated.

Kind Regards Paul






All times are GMT +1. The time now is 06:32 AM.

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