• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

sum of production hours depends on the months

sdsurzh

Member
Hi,


I want to sum all the production hours, present days and no of working days for a particular month. I have briefly explained in attachment.


http://www.2shared.com/document/9cTqJACO/1_online.html


Thanks,

Suresh Kumar S
 
Hi Suresh,


For Hrs :
Code:
=SUMPRODUCT((MONTH($A$2:$A$39)=MONTH(H6))*$B$2:$B$39)


For Days present:

[code]=SUMPRODUCT((MONTH($A$2:$A$39)=MONTH(H5))*($B$2:$B$39>0))


For # of days:

=SUMPRODUCT((MONTH($A$2:$A$39)=MONTH(H5))*($A$2:$A$39>0))[/code]


Drag down.


Regards,
 
Thanks Excel Hero Faseeh,


Even i tried sumproduct but instead of month i used text formula.


Thanks,

Suresh Kumar s
 
Back
Top