+ Reply to Thread
Results 1 to 11 of 11

Task details -Summary formula required to calculate weekly hours with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    143

    Task details -Summary formula required to calculate weekly hours with multiple criteria

    Hi Experts,

    Looking for help on a Excel file which is used to capture daily tasks on multiple projects.
    The Sheet has 2 tabs, the first is Task details & Second is Weekly Summary.

    The Task details is a manual update sheet where multiple members fill in their tasks they work on. One member could be doing tasks on multiple projects and he/she has to fill the category of effort hrs expended (Billable/Non-Billable)

    The WeeklySummary has a table with formulas to extract Effort hours expended by any member (which is a manual input). The formula gives the results for all the projects any member has worked on. Currently, the formula extracts effort hours unconstrained to any date ranges (i.e. it picks up all hours for that resource, projectwise without any constraint on the dates)

    However, i am looking to add a date range (i.e. days in a week) to extract the hours and also need to get the Category of hours. Also, looking for a graph to depict the Billable Vs Non-Billable trend.

    Kindly help with a suitable formula. Thanks in advance

    Thanks,
    Mahesh
    Attached Files Attached Files
    Last edited by MaheshK5277; 01-30-2021 at 07:21 AM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Hi,
    Try this in E2 and down:
    =IFERROR(INDEX(TaskDetails!$F$2:$F$35,MATCH(WeeklySummary!C2&WeeklySummary!B2,TaskDetails!$C$2:$C$35&TaskDetails!$D$2:$D$35,0)),"")

    A7 =WEEKNUM(A5)

    Where do you need the graph?

  3. #3
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    143

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Hi Belinda,

    I tried the formula you provided; however, it doesn't seem to work?

    Also, hope you know that i am trying to get the hours only between the date range specified with the category wise hours pulled up.

    am i doing something wrong? let me know please.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Hi,
    See attached.
    Also created a table for your graph
    A2 and down =IFERROR(INDEX(TaskDetails!$A$2:$A$35,AGGREGATE(15,6,ROW(TaskDetails!$A$2:$A$35)/(MATCH(TaskDetails!$A$2:$A$35,TaskDetails!$A$2:$A$35,0)=ROW(TaskDetails!$A$1:$A$35)),ROWS(TaskDetails!$A$1:A1))),"")

    B2-C2 and down:
    =COUNTIFS(TaskDetails!$A$2:$A$35,$A2,TaskDetails!$F$2:$F$35,B$1)


    Not sure this is what you want...
    Attached Files Attached Files
    Last edited by Limor_OP; 01-30-2021 at 08:38 AM.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    With Excel2010, you can avoid those array formulae:

    in C2:
    =IFERROR(INDEX(TaskDetails!$C:$C, AGGREGATE(15,6,ROW(TaskDetails!$D$2:$D$1000)/($B$2=TaskDetails!$D$2:$D$1000),ROWS(C$2:C2))),"")

    In D2:
    =IFERROR(INDEX(TaskDetails!$E$2:$E$1000,MATCH(1,INDEX(($B$2=TaskDetails!$D$2:$D$1000)*($C2=TaskDetails!$C$2:$C$1000),0),0)),"")

    and in E2:
    =IFERROR(INDEX(TaskDetails!$F$2:$F$1000,MATCH(1,INDEX(($B$2=TaskDetails!$D$2:$D$1000)*($C2=TaskDetails!$C$2:$C$1000),0),0))&"","")

    I do not understand what you want in a7... Is it just: =WEEKNUM(A3)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Quote Originally Posted by MaheshK5277 View Post
    .....hope you know that i am trying to get the hours only between the date range specified with the category wise hours pulled up.
    Where? in which cells? can you input the results you expect to see manually to understand better?

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Just noticed the date range bit.

    Formulae modified. see sheet.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    143

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Thanks Belinda for your help. The graph is good and serves the purpose.

  9. #9
    Forum Contributor
    Join Date
    12-18-2015
    Location
    Mumbai, India
    MS-Off Ver
    MS Office 365
    Posts
    143

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Hi Glenn - Perfect solution.!! Thanks for your help again. I will mark this thread as solved.

  10. #10
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    Quote Originally Posted by MaheshK5277 View Post
    Thanks Belinda for your help. The graph is good and serves the purpose.
    Good, you're welcome.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Task details -Summary formula required to calculate weekly hours with multiple criteri

    You're welcome and thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VB Code to calculate weekly hours for employess
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-15-2020, 11:23 AM
  2. [SOLVED] Sample -Required to update Summary Details in Each Tab of Split data at end using VBA Code
    By Ram_G in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2016, 05:40 AM
  3. [SOLVED] calculate average weekly hours
    By caelhonig in forum Excel General
    Replies: 13
    Last Post: 12-27-2015, 11:38 PM
  4. Replies: 1
    Last Post: 05-22-2014, 12:44 AM
  5. Task time tracking with daily and weekly and monthly summary
    By issam.ha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2014, 12:02 PM
  6. How to get summary/count of task on weekly basis
    By SJ73 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-16-2013, 06:20 AM
  7. [SOLVED] Input summary info into a seperate sheet where multiple criteria are required
    By Anthem12 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-07-2013, 12:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1