![]() |
Count Names
I would like to be able to count the number of different names in a column.
In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
Count Names
=COUNTIF(C:C,"WRRI")
or better =COUNTIF(C:C,D2) where you would put the different names in D2 -- Regards, Peo Sjoblom "relo" wrote in message ... I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
Count Names
On Wed, 8 Aug 2007 10:50:04 -0700, relo wrote:
I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI One way would be to set up a pivot table. Drag "ClientName" to the Rows area and also to the Data area. With the default settings, it will give you a list of the unique ClientNames and a count of each name. Count of ClientName ClientName Total American Relocation 1 ETC Relo 1 GMAC 2 Hewitt 2 Moving Station 3 Primacy 1 Prudential 1 SIRVA 2 Vision 1 WRRI 9 Grand Total 23 --ron |
Count Names
On Wed, 8 Aug 2007 10:50:04 -0700, relo wrote:
I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI One way would be to set up a pivot table. Drag "ClientName" to the Rows area and also to the Data area. With the default settings, it will give you a list of the unique ClientNames and a count of each name. Count of ClientName ClientName Total American Relocation 1 ETC Relo 1 GMAC 2 Hewitt 2 Moving Station 3 Primacy 1 Prudential 1 SIRVA 2 Vision 1 WRRI 9 Grand Total 23 --ron |
Count Names
Thanks for the suggestion, but I must not be doing it right. Either it enters
a zero in the cell that I put the formula in or it gives an error message that I created a circular function. "Peo Sjoblom" wrote: =COUNTIF(C:C,"WRRI") or better =COUNTIF(C:C,D2) where you would put the different names in D2 -- Regards, Peo Sjoblom "relo" wrote in message ... I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
Count Names
Thanks for the suggestion, but I must not be doing it right. Either it enters
a zero in the cell that I put the formula in or it gives an error message that I created a circular function. "Peo Sjoblom" wrote: =COUNTIF(C:C,"WRRI") or better =COUNTIF(C:C,D2) where you would put the different names in D2 -- Regards, Peo Sjoblom "relo" wrote in message ... I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
Count Names
If you use it in the same column then you have to change the range to not
include the cell with the formula, if the data is in C2:C50 then use =COUNTIF(C2:C50,"WRRI") if that returns a zero than you must have either spaces or invisible html characters =COUNTIF(C2:C50,"*WRRI*") -- Regards, Peo Sjoblom "relo" wrote in message ... Thanks for the suggestion, but I must not be doing it right. Either it enters a zero in the cell that I put the formula in or it gives an error message that I created a circular function. "Peo Sjoblom" wrote: =COUNTIF(C:C,"WRRI") or better =COUNTIF(C:C,D2) where you would put the different names in D2 -- Regards, Peo Sjoblom "relo" wrote in message ... I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
Count Names
If you use it in the same column then you have to change the range to not
include the cell with the formula, if the data is in C2:C50 then use =COUNTIF(C2:C50,"WRRI") if that returns a zero than you must have either spaces or invisible html characters =COUNTIF(C2:C50,"*WRRI*") -- Regards, Peo Sjoblom "relo" wrote in message ... Thanks for the suggestion, but I must not be doing it right. Either it enters a zero in the cell that I put the formula in or it gives an error message that I created a circular function. "Peo Sjoblom" wrote: =COUNTIF(C:C,"WRRI") or better =COUNTIF(C:C,D2) where you would put the different names in D2 -- Regards, Peo Sjoblom "relo" wrote in message ... I would like to be able to count the number of different names in a column. In the example below in Column C is the field name ClientName. Under ClientName are the different names that I would like to count. There are several hundred files in the spreadsheet and would like to be able to count how many are "WRRI", "Primacy" etc. How can I do this? Thanks in advance. ClientName WRRI WRRI ETC Relo Primacy WRRI SIRVA Moving Station Prudential Hewitt WRRI WRRI Vision Hewitt Moving Station SIRVA WRRI American Relocation WRRI GMAC Moving Station WRRI GMAC WRRI |
All times are GMT +1. The time now is 04:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com