ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNT FORMULA??? (https://www.excelbanter.com/excel-worksheet-functions/263831-count-formula.html)

psd364

COUNT FORMULA???
 
I need to use a formula to find out how many times the value in B2 appears in
column B.

Lars-Åke Aspelin[_4_]

COUNT FORMULA???
 
On Fri, 14 May 2010 12:38:08 -0700, psd364
wrote:

I need to use a formula to find out how many times the value in B2 appears in
column B.



Try this formula:

=COUNTIF(B:B,B2)

or, if you don't have Excel 2007, use this

=COUNTIF($B$1:$B$65536,B2)

Hope this helps / Lars-Åke



Tom Hutchins

COUNT FORMULA???
 


"psd364" wrote:

I need to use a formula to find out how many times the value in B2 appears in
column B.


Tom Hutchins

COUNT FORMULA???
 
Try
=COUNTIF(B:B,B2)
in any cell not in column B on the same sheet.

Hope this helps,

Hutch

"psd364" wrote:

I need to use a formula to find out how many times the value in B2 appears in
column B.


Shane Devenshire[_2_]

COUNT FORMULA???
 
Excel 2003 does allow full column references with the COUNTIF function.

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

Cheers,
Shane Devenshire


"Lars-Ã…ke Aspelin" wrote:

On Fri, 14 May 2010 12:38:08 -0700, psd364
wrote:

I need to use a formula to find out how many times the value in B2 appears in
column B.



Try this formula:

=COUNTIF(B:B,B2)

or, if you don't have Excel 2007, use this

=COUNTIF($B$1:$B$65536,B2)

Hope this helps / Lars-Ã…ke


.


Shane Devenshire[_2_]

COUNT FORMULA???
 
Be careful B2 is in the range B:B so you will be counting the criteria cell
of the COUNTIF function, do you really want to do that?

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

Cheers,
Shane Devenshire


"psd364" wrote:

I need to use a formula to find out how many times the value in B2 appears in
column B.


Lars-Åke Aspelin[_4_]

COUNT FORMULA???
 
On Fri, 14 May 2010 16:24:01 -0700, Shane Devenshire
wrote:

Excel 2003 does allow full column references with the COUNTIF function.


Thanks for pointing that out. I wasn't sure so I gave an alternative
solution too, just in case full column reference was not allowed.

Lars-Åke


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

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