+ Reply to Thread
Results 1 to 3 of 3

Calculating Max of Sub-records for Main Record

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    69

    Calculating Max of Sub-records for Main Record

    I have a table with main records and another related table that are Sub-Records of the main. The sub-records are tasks with start and finish dates for each task. I would like to find the total time to complete the main record by getting the earliest start date and latest finish date for each task and the calculating the difference. what would be the easiest way to do this? I can't find a way to do it via calculated field.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    MS Office Excel 2007
    Posts
    5,568

    Re: Calculating Max of Sub-records for Main Record

    Sorry ignore this, replied in error.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    3,663

    Re: Calculating Max of Sub-records for Main Record

    I don't know your exact setup, but something like this:

    Please Login or Register  to view this content.
    Here my_record is the field that you have time records against, and start and end are the date columns that presumably have multiple entries against the individual records from the main table. The "d" part of the DateDiff function can be changed to whatever unit you want for the time elapsed unit. "d" being days.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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