ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   What is wrong with formula? (https://www.excelbanter.com/excel-worksheet-functions/107561-what-wrong-formula.html)

TMF in MN

What is wrong with formula?
 
A B C
8/1/06 8/1/06 2
8/2/06 8/2/06 1
8/3/06 8/3/06 2
8/3/06
8/1/06

I need a formula to count how many dates in the list are for 8/1, 8/2, etc.
I tried COUNTIF(A1:A5,=b1) and get 0 value

Allllen

What is wrong with formula?
 
=COUNTIF(A1:A5,B1)

You don't need the =B1, it is just B1
--
Allllen


"TMF in MN" wrote:

A B C
8/1/06 8/1/06 2
8/2/06 8/2/06 1
8/3/06 8/3/06 2
8/3/06
8/1/06

I need a formula to count how many dates in the list are for 8/1, 8/2, etc.
I tried COUNTIF(A1:A5,=b1) and get 0 value


Don Guillett

What is wrong with formula?
 
Or, if you insist on using = try "="&b1


--
Don Guillett
SalesAid Software

"Allllen" wrote in message
...
=COUNTIF(A1:A5,B1)

You don't need the =B1, it is just B1
--
Allllen


"TMF in MN" wrote:

A B C
8/1/06 8/1/06 2
8/2/06 8/2/06 1
8/3/06 8/3/06 2
8/3/06
8/1/06

I need a formula to count how many dates in the list are for 8/1, 8/2,
etc.
I tried COUNTIF(A1:A5,=b1) and get 0 value




shail

What is wrong with formula?
 
Hi,

=COUNTIF(A$1:A$5,B1)

should work for you

Thanks

Shail


TMF in MN wrote:
A B C
8/1/06 8/1/06 2
8/2/06 8/2/06 1
8/3/06 8/3/06 2
8/3/06
8/1/06

I need a formula to count how many dates in the list are for 8/1, 8/2, etc.
I tried COUNTIF(A1:A5,=b1) and get 0 value




All times are GMT +1. The time now is 02:20 PM.

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