+ Reply to Thread
Results 1 to 5 of 5

Finding MAX interval from 2 groups of data

  1. #1
    Forum Contributor Grimace's Avatar
    Join Date
    05-04-2009
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2013 and Office 365 Plus
    Posts
    380

    Finding MAX interval from 2 groups of data

    Good afternoon all,

    I am trying to find the max time interval when 2 different tables are added together, and what time that was. Preferably without having a totally seperate table to add into the sheet. I could do it this way but makes it messy for me.

    On the attached sheet, I need to find when the sum of group 1 and group 2 in the same time interval = the max for the day, and return the value and the time at the bottom.

    Any assistance would be really appreciated

    Thanks
    Darren
    Attached Files Attached Files
    Last edited by Grimace; 02-22-2011 at 09:40 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Finding MAX interval from 2 groups of data

    You mean like this?

    In C61
    =INDEX($A$32:$A$57, MATCH(MAX(C2:C27+C32:C57), INDEX(C2:C27+C32:C57, 0), 0))

    comfrimed with ctrl+shift+enter (not just enter)

    For SUM use: =MAX(C2:C27+C32:C57)
    comfrimed with ctrl+shift+enter
    Last edited by zbor; 02-16-2011 at 03:38 AM.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Finding MAX interval from 2 groups of data

    If you use it in this way you can in C61 have =INDEX($A$32:$A$57, MATCH(C62, INDEX(C2:C27+C32:C57, 0), 0)) referencing to C62 and then you can use normal enter.

  4. #4
    Forum Contributor Grimace's Avatar
    Join Date
    05-04-2009
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2013 and Office 365 Plus
    Posts
    380

    Re: Finding MAX interval from 2 groups of data

    Awesome zbor .... I can claim to have tried the Sum forumla (most basic of them all) but had forgotten to register it with Shift+Ctrl+Enter.

    Do you have a reference point where I can learn some more about when to use this technique (ie what it is that is different, and what to look out for). I have had it a few times in responses from Forum topics, and still dont have a grip on when I should be using it.

    Thanks so much again

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Finding MAX interval from 2 groups of data

    It's something called Array.
    You use them when you don't work with cingle cells but with arrays..

    You will recognise those formula's by {=formula} brackets around formula..
    Those brackets can not be entered manualy, you must get them by pressing ctrl+shift+enter.

    Try to read somewhere, like here... And then come back with more questions
    It takes some time to ge used to it...

    Take for example this simple workbook where you need to sum products of the rows...

    Of course, you can use SUMPRODUCT formula (like in B7) but you can also see SUM solution for that.
    Attached Files Attached Files

+ 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