Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count numbers of Month in a cell

Dear All:

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

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09)*(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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Count numbers of Month in a cell

Do you mean

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09))

--
__________________________________
HTH

Bob

"Navarat Mishra" wrote in message
...
Dear All:

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

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09)*(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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count numbers of Month in a cell

On Feb 23, 3:25*pm, "Bob Phillips" wrote:
Do you mean

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09))

--
__________________________________
HTH

Bob

"Navarat Mishra" wrote in message

...



Dear All:


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


=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09)*(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.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Count numbers of Month in a cell

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" wrote in message
...
On Feb 23, 3:25 pm, "Bob Phillips" wrote:
Do you mean

=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09))

--
__________________________________
HTH

Bob

"Navarat Mishra" wrote in message

...



Dear All:


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


=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09)*(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.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count numbers of Month in a cell

On Feb 23, 6:08*pm, "Ashish Mathur" 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" wrote in message

...



On Feb 23, 3:25 pm, "Bob Phillips" wrote:
Do you mean


=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09))


--
__________________________________
HTH


Bob


"Navarat Mishra" wrote in message


....


Dear All:


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


=SUMPRODUCT((MONTH(B6:B1613)=1)*(YEAR(B6:B1613)=20 09)*(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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count the occurrences of a month in a date&time cell Tom Excel Worksheet Functions 6 February 14th 08 05:05 PM
Count duplicate cell values per month Derek Excel Worksheet Functions 7 November 26th 07 06:53 PM
Function to count numbers in one Cell IE 1+2+10 Mitch Excel Worksheet Functions 6 August 30th 07 11:55 PM
How do I add/count numbers in the same cell in excel worksheet? Brecken Excel Worksheet Functions 5 January 11th 07 07:44 PM
Count a numbers of entries in a given month ? Svoger New Users to Excel 4 April 5th 05 12:52 AM


All times are GMT +1. The time now is 09:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"