+ Reply to Thread
Results 1 to 11 of 11

Formula: Lookup and sum duration of specific tasks from Case ID No.

  1. #1
    Registered User
    Join Date
    12-23-2019
    Location
    Australia
    MS-Off Ver
    365
    Posts
    13

    Formula: Lookup and sum duration of specific tasks from Case ID No.

    Dear Forum Users,

    I am developing a dashboard that is required to lookup a Job ID Number from a list of tasks and report the total duration of a specific task that has been summed in a column over a period.

    For example, per the attached sheet:

    Sheet A (Chronology) Four Columns:
    (1) Case ID (Drop list) – (2) Category (Drop list) – (3) Description – (4) From – (5) Network Days

    Sheet B (Dashboard):

    KEY Action> Needs to report the total networking days for a project listed in (1) Case ID and tasks from (2) Category (Drop list)

    My question, what formula would I need to give me the result of networking days by Case ID and Category (Drop list)?

    Any help or direction would be greatly appreciated.
    Last edited by Amigo1975; 02-12-2021 at 07:46 AM. Reason: Review of attachmentx2

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

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    A guess.... expected answers are better than a pile of non-working formulae...

    =SUMIFS(Chronology!F:F,Chronology!A:A,'Dash Board'!$B$1,Chronology!B:B,'Dash Board'!B4)

    Edit: attachment removed for data protection reasons. Anonymised version available below.
    Last edited by Glenn Kennedy; 02-13-2021 at 08:11 AM.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-23-2019
    Location
    Australia
    MS-Off Ver
    365
    Posts
    13

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Thanks Glenn,

    Your help is appreciated. Question, an extension of this if I had multiple CASE ID's that requires independent report, how would I implement a vlookup? Is this the right approach?

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

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Before going further... is it giving you the expected resuts, or did I guess wrongly?

    I am not sure what you mean by your new requirement

    Can they be multiple and independent at the same time?

    Are you wanting a SUM of multiple IDs... or to be able to generate reports one at a time.

    Confused...

  5. #5
    Registered User
    Join Date
    12-23-2019
    Location
    Australia
    MS-Off Ver
    365
    Posts
    13

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Apologies,

    The formulas you provided is reporting the correct information. Thank you.

    Looking to generate a report one at a time based on the sum of a single Case ID.

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

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    OK. In that case, would it be a good idea to have B1 populated from a drop-down box containing a list of projects, derived from the first sheet?


    Secondly, since you have O365, why are you still using the prehistoric .xls file format (that went out in 2007....)

  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 2403
    Posts
    44,018

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Your DD is being populated manually at the moment. It can be done using a formula. since the data is in a table, in "Do Not Delete"it can't be done with O365's nice shiny UNIQUE function, but there are alternatives.

  8. #8
    Registered User
    Join Date
    12-23-2019
    Location
    Australia
    MS-Off Ver
    365
    Posts
    13

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Yes, I would agree to have B1 populated from a drop-down box containing a list of projects derived from the first sheet.

    I did not take notice the note of the file format; WHOA 2007 time flies.

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

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    I created a new Named Range, and changed an existing one.

    Cases:
    =Chronology!$A$2:INDEX(Chronology!$A:$A,AGGREGATE(14,6,MATCH({1E+100,"Zzzz"},Chronology!$A:$A),1))

    this is based on a bright idea from Bo_Ry... a forum regular. It adjusts automatically to the length of chronology column A. No need to adjust it.

    In DnD, D2:
    =UNIQUE(Cases,FALSE)

    again, no need to adjust, ever.

    Case_Id for the DD in B1:
    ='DO NOT DELETE'!$D$2:INDEX('DO NOT DELETE'!$D:$D,AGGREGATE(14,6,MATCH({1E+100,"Zzzz"},'DO NOT DELETE'!$D:$D),1))

    The DD will always contain a list of unique projects generated from chronology, column A. Nothing needs to be adjusted.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 02-13-2021 at 08:14 AM.

  10. #10
    Registered User
    Join Date
    12-23-2019
    Location
    Australia
    MS-Off Ver
    365
    Posts
    13

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    Perfect thankyou.

  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 2403
    Posts
    44,018

    Re: Formula: Lookup and sum duration of specific tasks from Case ID No.

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ 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. [SOLVED] Lookup tasks and sort by date and exclude completed tasks
    By AlexSchmidt in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 10-19-2017, 04:47 PM
  2. Create with VBA excel formula to calculate SUM IF in a specific case.
    By pedrohern in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2015, 06:25 AM
  3. Help with duration on business case
    By lil_stadde in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 08:31 AM
  4. Distribute Duration Evenly Amongst Tasks
    By mycon73 in forum Excel General
    Replies: 5
    Last Post: 09-10-2013, 11:21 AM
  5. [SOLVED] Formula: To calculate duration between two times, if duration is over 6hours subtract 30mi
    By MattBarnes7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 03:22 PM
  6. Calculating duration of tasks
    By opg in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-10-2009, 03:04 PM
  7. [SOLVED] Case specific LOOKUP alternative
    By dan in forum Excel General
    Replies: 4
    Last Post: 06-05-2006, 07:25 AM

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