ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Count a numbers of entries in a given month ? (https://www.excelbanter.com/new-users-excel/20423-count-numbers-entries-given-month.html)

Svoger

Count a numbers of entries in a given month ?
 
I need to count a numbers of entries in a given month and then I have to
compare with another set of entries that has to be greater than a certain
month. I also has to count the numbers of empty cells. Can I use a nested IF
function ?

Don Guillett

I'm not clear on exactly what you want but maybe idea will help. Modify to
suit.
If your col A is DATES and you want April

=sumproduct((month(a2:a200)=4)*(month(b2:b200)2))

--
Don Guillett
SalesAid Software

"Svoger" wrote in message
...
I need to count a numbers of entries in a given month and then I have to
compare with another set of entries that has to be greater than a certain
month. I also has to count the numbers of empty cells. Can I use a nested

IF
function ?




Susanne

Hi

I think I have solved the problem. thanks

Susanne


"Don Guillett" wrote:

I'm not clear on exactly what you want but maybe idea will help. Modify to
suit.
If your col A is DATES and you want April

=sumproduct((month(a2:a200)=4)*(month(b2:b200)2))

--
Don Guillett
SalesAid Software

"Svoger" wrote in message
...
I need to count a numbers of entries in a given month and then I have to
compare with another set of entries that has to be greater than a certain
month. I also has to count the numbers of empty cells. Can I use a nested

IF
function ?





ewan7279

If you want to count blanks in a range, use '=COUNTIF(A1:A10,"")'. A1 to A10
is the range you want to enter.

"Svoger" wrote:

I need to count a numbers of entries in a given month and then I have to
compare with another set of entries that has to be greater than a certain
month. I also has to count the numbers of empty cells. Can I use a nested IF
function ?


bigwheel

You could even use '=COUNTBLANK(A1:A10)'

"ewan7279" wrote in message
...
If you want to count blanks in a range, use '=COUNTIF(A1:A10,"")'. A1 to

A10
is the range you want to enter.

"Svoger" wrote:

I need to count a numbers of entries in a given month and then I have to
compare with another set of entries that has to be greater than a

certain
month. I also has to count the numbers of empty cells. Can I use a

nested IF
function ?





All times are GMT +1. The time now is 04:54 PM.

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