PC Review


Reply
Thread Tools Rate Thread

Count numbers of Month in a cell

 
 
Navarat Mishra
Guest
Posts: n/a
 
      23rd Feb 2009
Dear All:

Please help I have put this formulas to count the times of Months

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009)*(INT(B6:B1613)
<>INT(B7:B1614)))

but the result skip the duplicate date, how to solve this problem
please kindly help.

Thanking you in advance for kind help in this matter.

NM
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Feb 2009
Do you mean

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009))

--
__________________________________
HTH

Bob

"Navarat Mishra" <(E-Mail Removed)> wrote in message
news:d8153e12-ec9c-4321-8064-(E-Mail Removed)...
> Dear All:
>
> Please help I have put this formulas to count the times of Months
>
> =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009)*(INT(B6:B1613)
> <>INT(B7:B1614)))
>
> but the result skip the duplicate date, how to solve this problem
> please kindly help.
>
> Thanking you in advance for kind help in this matter.
>
> NM



 
Reply With Quote
 
Navarat Mishra
Guest
Posts: n/a
 
      23rd Feb 2009
On Feb 23, 3:25*pm, "Bob Phillips" <Bob...@somewhere.com> wrote:
> Do you mean
>
> =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009))
>
> --
> __________________________________
> HTH
>
> Bob
>
> "Navarat Mishra" <navara...@gmail.com> wrote in message
>
> news:d8153e12-ec9c-4321-8064-(E-Mail Removed)...
>
>
>
> > Dear All:

>
> > Please help I have put this formulas to count the times of Months

>
> > =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009)*(INT(B6:B1613)
> > <>INT(B7:B1614)))

>
> > but the result skip the duplicate date, how to solve this problem
> > please kindly help.

>
> > Thanking you in advance for kind help in this matter.

>
> > NM- Hide quoted text -

>
> - Show quoted text -


Yes pls

input msg in column B
1 Jan 09
4 Jan 09
4 Jan 09
6 Jan 09


but by insert the formular as above the result comes 3 for Jan only
bcoz the duplicate of 4 Jan

Thank you.
 
Reply With Quote
 
Ashish Mathur
Guest
Posts: n/a
 
      23rd Feb 2009
Hi,

If you want the answer to be 4, then please use the following formula

SUMPRODUCT((YEAR(C4:C7)=2009)*(MONTH(C4:C7)=1))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Navarat Mishra" <(E-Mail Removed)> wrote in message
news:7f26a10c-2ced-4a32-831b-(E-Mail Removed)...
> On Feb 23, 3:25 pm, "Bob Phillips" <Bob...@somewhere.com> wrote:
>> Do you mean
>>
>> =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009))
>>
>> --
>> __________________________________
>> HTH
>>
>> Bob
>>
>> "Navarat Mishra" <navara...@gmail.com> wrote in message
>>
>> news:d8153e12-ec9c-4321-8064-(E-Mail Removed)...
>>
>>
>>
>> > Dear All:

>>
>> > Please help I have put this formulas to count the times of Months

>>
>> > =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009)*(INT(B6:B1613)
>> > <>INT(B7:B1614)))

>>
>> > but the result skip the duplicate date, how to solve this problem
>> > please kindly help.

>>
>> > Thanking you in advance for kind help in this matter.

>>
>> > NM- Hide quoted text -

>>
>> - Show quoted text -

>
> Yes pls
>
> input msg in column B
> 1 Jan 09
> 4 Jan 09
> 4 Jan 09
> 6 Jan 09
>
>
> but by insert the formular as above the result comes 3 for Jan only
> bcoz the duplicate of 4 Jan
>
> Thank you.


 
Reply With Quote
 
Navarat Mishra
Guest
Posts: n/a
 
      23rd Feb 2009
On Feb 23, 6:08*pm, "Ashish Mathur" <mathurash...@hotmail.com> wrote:
> Hi,
>
> If you want the answer to be 4, then please use the following formula
>
> SUMPRODUCT((YEAR(C4:C7)=2009)*(MONTH(C4:C7)=1))
>
> --
> Regards,
>
> Ashish Mathur
> Microsoft Excel MVPwww.ashishmathur.com
>
> "Navarat Mishra" <navara...@gmail.com> wrote in message
>
> news:7f26a10c-2ced-4a32-831b-(E-Mail Removed)...
>
>
>
> > On Feb 23, 3:25 pm, "Bob Phillips" <Bob...@somewhere.com> wrote:
> >> Do you mean

>
> >> =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009))

>
> >> --
> >> __________________________________
> >> HTH

>
> >> Bob

>
> >> "Navarat Mishra" <navara...@gmail.com> wrote in message

>
> >>news:d8153e12-ec9c-4321-8064-(E-Mail Removed)....

>
> >> > Dear All:

>
> >> > Please help I have put this formulas to count the times of Months

>
> >> > =SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=2009)*(INT(B6:B1613)
> >> > <>INT(B7:B1614)))

>
> >> > but the result skip the duplicate date, how to solve this problem
> >> > please kindly help.

>
> >> > Thanking you in advance for kind help in this matter.

>
> >> > NM- Hide quoted text -

>
> >> - Show quoted text -

>
> > Yes pls

>
> > input msg in column B
> > 1 Jan 09
> > 4 Jan 09
> > 4 Jan 09
> > 6 Jan 09

>
> > but by insert the formular as above the result comes 3 for Jan only
> > bcoz the duplicate of 4 Jan

>
> > Thank you.- Hide quoted text -

>
> - Show quoted text -


Thank you

I have tried at home now and it seem to be worked,

I forgot what was the reason to put like that last time.

It is not showing error even there are blank cell.

Tomorrow will try at the office again, if got problem will ask again.

Thank you very much for today.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count a cell in month format Mike Wheeler Microsoft Excel Misc 5 24th Mar 2010 02:56 PM
Count numbers in the same cell backmara Microsoft Excel Misc 10 22nd May 2009 01:00 PM
count the occurrences of a month in a date&time cell Tom Microsoft Excel Worksheet Functions 6 14th Feb 2008 05:05 PM
Count duplicate cell values per month Derek Microsoft Excel Worksheet Functions 7 26th Nov 2007 06:53 PM
Count a numbers of entries in a given month ? =?Utf-8?B?U3ZvZ2Vy?= Microsoft Excel New Users 3 4th Apr 2005 02:19 PM


Features
 

Advertising
 

Newsgroups
 


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