ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I display the count function a "5 out of 15". (https://www.excelbanter.com/excel-discussion-misc-queries/83270-how-can-i-display-count-function-5-out-15-a.html)

dcham

How can I display the count function a "5 out of 15".
 

I use the count function to total the number of ‘H’s = (Hired) employees
in my spreadsheet. I would like the result to show as 5 out of 15. Is
this possible?


--
dcham
------------------------------------------------------------------------
dcham's Profile: http://www.excelforum.com/member.php...o&userid=33498
View this thread: http://www.excelforum.com/showthread...hreadid=532955


Bob Phillips

How can I display the count function a "5 out of 15".
 
=COUNTIF(A2:A20,"H")&" out of "&COUNTA(A2:A20)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dcham" wrote in
message ...

I use the count function to total the number of 'H's = (Hired) employees
in my spreadsheet. I would like the result to show as 5 out of 15. Is
this possible?


--
dcham
------------------------------------------------------------------------
dcham's Profile:

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




Toppers

How can I display the count function a "5 out of 15".
 


=COUNTIF(A2:A20,"H")&" out of "& ROWS(A2:A20)

"Bob Phillips" wrote:

=COUNTIF(A2:A20,"H")&" out of "&COUNTA(A2:A20)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dcham" wrote in
message ...

I use the count function to total the number of 'H's = (Hired) employees
in my spreadsheet. I would like the result to show as 5 out of 15. Is
this possible?


--
dcham
------------------------------------------------------------------------
dcham's Profile:

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





Bob Phillips

How can I display the count function a "5 out of 15".
 
Good point. Mine would ignore the blanks which is just as much not H as any
other letter <G

Bob

"Toppers" wrote in message
...


=COUNTIF(A2:A20,"H")&" out of "& ROWS(A2:A20)

"Bob Phillips" wrote:

=COUNTIF(A2:A20,"H")&" out of "&COUNTA(A2:A20)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"dcham" wrote in
message ...

I use the count function to total the number of 'H's = (Hired)

employees
in my spreadsheet. I would like the result to show as 5 out of 15.

Is
this possible?


--
dcham


------------------------------------------------------------------------
dcham's Profile:

http://www.excelforum.com/member.php...o&userid=33498
View this thread:

http://www.excelforum.com/showthread...hreadid=532955








All times are GMT +1. The time now is 07:11 AM.

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