ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Totalling number of text entries on a worksheet (https://www.excelbanter.com/excel-discussion-misc-queries/235779-totalling-number-text-entries-worksheet.html)

Steve[_18_]

Totalling number of text entries on a worksheet
 
I have a sheet, with names and dates on.

Date Name
04/04/09 John
09/04/09 Phil
15/04/09 John
20/04/09 Phil
22/04/09 John
01/05/09 John

All i want is a formula to total up how many John's there are in the
spreadsheet in a formula, is it possible?.

FSt1

Totalling number of text entries on a worksheet
 
hi
try this.
=COUNTIF(B1:B10,"John")

adjust the range to suit your data.

Regards
FSt1

"Steve" wrote:

I have a sheet, with names and dates on.

Date Name
04/04/09 John
09/04/09 Phil
15/04/09 John
20/04/09 Phil
22/04/09 John
01/05/09 John

All i want is a formula to total up how many John's there are in the
spreadsheet in a formula, is it possible?.


RagDyeR

Totalling number of text entries on a worksheet
 
=Countif(B2:B7,"John")
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Steve" wrote in message
...
I have a sheet, with names and dates on.

Date Name
04/04/09 John
09/04/09 Phil
15/04/09 John
20/04/09 Phil
22/04/09 John
01/05/09 John

All i want is a formula to total up how many John's there are in the
spreadsheet in a formula, is it possible?.



Shane Devenshire[_2_]

Totalling number of text entries on a worksheet
 
Hi,

Put John in cell D1, for example and in E1 enter

=COUNTIF(B:B,D1)

This way you can put a list of names in column D and copy the above formula
down to get counts of all names.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Steve" wrote:

I have a sheet, with names and dates on.

Date Name
04/04/09 John
09/04/09 Phil
15/04/09 John
20/04/09 Phil
22/04/09 John
01/05/09 John

All i want is a formula to total up how many John's there are in the
spreadsheet in a formula, is it possible?.



All times are GMT +1. The time now is 10:30 PM.

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