+ Reply to Thread
Results 1 to 8 of 8

Index, Match for highest value

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    Mineral, VA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Index, Match for highest value

    In the attached workbook, I'm attempting to post the latest work order detail info to a master listing of equipment.

    1) I need to show the latest PM service date.
    2) I need to show the latest "other" repair type service date ( which could be GM, RE, CD, or WY type). I just need the latest date for any of those types.
    3) Finally, I need the latest Meter reading, regardless of type.

    In my "Master" sheet, so far I've only accomplished finding the first work service date and the first meter reading listed for a piece of equipment. I don't know how to go from there.

    Note: Some equipment will not have any work orders originally, and some equipment may have a service date but no meter reading because the equipment has no meter to read.

    I've color-coded the columns I'm using as references in my calculations in the attachment.
    Last edited by cedarhill; 03-12-2009 at 07:56 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index, Match for highest value

    See attached... check if that is what you need.

    Are we basing this data on the X's being placed in the PM, etc... columns...

    we can get rid of the #N/A errors later if everything else is okay.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index, Match for highest value

    Actually, I think the formula for the "Repair" column was incorrect... see attached revision....

    I also cleaned up the #N/A errors while I was at it....
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-20-2009
    Location
    Mineral, VA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Index, Match for highest value

    Everything seems to be working great for the latest PM and the latest Meter reading. For the the Latest Repair date, I noticed Unit 7913 did not have the latest Repair Date of 02/10/09...instead it has an earlier Repair Date of 01/26/09.

    And yet, Unit 7912, which has multiple Repair Dates worked perfectly and showed the latest repair date. The only difference I saw between the two units is that one had a PM (7913) and the other one (7912) didn't.

    Does this info help?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index, Match for highest value

    See my last post... I noted the error in the formula and gave a revised one....

  6. #6
    Registered User
    Join Date
    02-20-2009
    Location
    Mineral, VA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Index, Match for highest value

    It is working perfectly...thank you very sincerely.

    I will study the logic you provided so I can learn from this for future use. Again, my thanks.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index, Match for highest value

    From PM:

    You me helped this morning with the above post. I thought it was solved, but, after adding some new detail for work order activity, I ran into a situation that is still giving me a problem.

    Anyway, for Unit 7913 (in the file I sent you), I added a new work order for PM type. When I went back & looked at the Master, the "Last Repair Date" was also updated with that same "Latest PM Date". I did make sure that the version of the file I was using was the second zip file you sent me.

    I'm too new to some of the functions you used to truly understand how to solve this myself. Can you help?
    I adjusted the formula again... hope this is good now. See Attached.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-20-2009
    Location
    Mineral, VA
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Index, Match for highest value

    Yes..that did it. And that solves all the possible configurations. Thank you very much.

+ 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