+ Reply to Thread
Results 1 to 5 of 5

B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersection

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    Valley Village, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Question B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersection

    how do we extract the highest number (max) of the cars passing through the intersection AND at the hour of which it occurs?


    thanks~!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersecti

    For the highest number (max) of the cars passing through the intersection:

    =MAX(P8:P31)

    For the hour at which it occurs:

    =INDEX(B8:B31,MATCH(MAX(P8:P31),P8:P31,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    Valley Village, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersecti

    Thanks for the awesome and so quick reply Biff,
    is there a way to combine the two functions into the same cell?
    =max
    =index
    ?
    Last edited by trafficcount; 06-10-2013 at 07:01 PM.

  4. #4
    Registered User
    Join Date
    06-10-2013
    Location
    Valley Village, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersecti

    oh no need BIFF, i just had to change the cell to show TIME, THANKS AGAIN!!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: B8-B31 = time of day, military, P8-P31 = number of cars passing through the intersecti

    You're welcome. Thanks for the feedback!

+ 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