littlenathan
New member
- Joined
- Apr 8, 2014
- Messages
- 5
- Reaction score
- 0
- Points
- 0
Dear Guru,
I am a newbie member here in this forum. Further to my visit I observed that a lot of questions been answered so I decided to post my question.
I have been given a newly assignment monitoring of management study activities in the plant. And dealing with an excel work book every day with a huge of action items has been entered since 1990’s. There were 3,200+ action items has been generated since in the beginning. Now as you can see on the table above I would to calculate the number of action items that has been closed every month and year.
From the table below, I would like to develop a pick drop down list instead of listing all categorically. Based on the example there were 4 action items has been closed of year 2013 while there were 2 action items has been closed for the month of April 2013.
I’ve come up a calculation method using SUMPRODUCT function to get the number that has been closed for year 2013. Please see below method.
=SUMPRODUCT(($A$2:$A$21=$D1)*(YEAR($B$2:$B$21)=E$2)*($C$2:$C$21="Closed"))
Using this method I get exactly the result. So If changing the year into 2014 category Process using drop down list again, exactly I get the result of 2.
The question now is to define the correct method using a drop down list of monthly category. E.g. If I am going to change the year into January 2014 I should get a result of 1. I have been struggling for several days on how to calculate the result. I have been trying to use this method but unfortunately not working.
=SUMPRODUCT(($A$2:$A$21=$D1)*(TEXT($B$2:$B$21,"mmmm")=F$2)*($C$2:$C$21="Closed"))
Please I need your help guys and really appreciated of any assistance as I am not skillful of logical function in excel worksheet.
Best Regards,
Littlenathan
I am a newbie member here in this forum. Further to my visit I observed that a lot of questions been answered so I decided to post my question.
I have been given a newly assignment monitoring of management study activities in the plant. And dealing with an excel work book every day with a huge of action items has been entered since 1990’s. There were 3,200+ action items has been generated since in the beginning. Now as you can see on the table above I would to calculate the number of action items that has been closed every month and year.
From the table below, I would like to develop a pick drop down list instead of listing all categorically. Based on the example there were 4 action items has been closed of year 2013 while there were 2 action items has been closed for the month of April 2013.
Type | MTD Closing Date | Status | Process | 2013 | April |
Process | 10-Jan-12 | Closed | | 4 | 2 |
Process | 15-Jan-12 | Closed | | | |
Process | 8-Mar-13 | Closed | | | |
Process | 10-Mar-13 | Closed | | | |
Process | 15-Apr-13 | Closed | | | |
Process | 16-Apr-13 | Closed | | | |
Process | 8-Jan-14 | Closed | | | |
Process | 8-Feb-14 | Closed | | | |
Project | 5-Mar-12 | Closed | | | |
Project | 6-Jan-12 | Closed | | | |
Project | 8-Apr-13 | Closed | | | |
Project | 10-Apr-13 | Closed | | | |
Project | 20-Mar-14 | Closed | | | |
Project | 22-Mar-14 | Closed | | | |
OTSHE | 11-Jan-12 | Closed | | | |
OTSHE | 2-Feb-12 | Closed | | | |
OTSHE | 8-Mar-13 | Closed | | | |
OTSHE | 22-Mar-13 | Closed | | | |
OTSHE | 10-Apr-14 | Closed | | | |
OTSHE | 12-Apr-14 | Closed | | | |
I’ve come up a calculation method using SUMPRODUCT function to get the number that has been closed for year 2013. Please see below method.
=SUMPRODUCT(($A$2:$A$21=$D1)*(YEAR($B$2:$B$21)=E$2)*($C$2:$C$21="Closed"))
Using this method I get exactly the result. So If changing the year into 2014 category Process using drop down list again, exactly I get the result of 2.
The question now is to define the correct method using a drop down list of monthly category. E.g. If I am going to change the year into January 2014 I should get a result of 1. I have been struggling for several days on how to calculate the result. I have been trying to use this method but unfortunately not working.
=SUMPRODUCT(($A$2:$A$21=$D1)*(TEXT($B$2:$B$21,"mmmm")=F$2)*($C$2:$C$21="Closed"))
Please I need your help guys and really appreciated of any assistance as I am not skillful of logical function in excel worksheet.
Best Regards,
Littlenathan