+ Reply to Thread
Results 1 to 5 of 5

INDEX Formula

  1. #1
    Registered User
    Join Date
    05-24-2010
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2007
    Posts
    57

    INDEX Formula

    Hi,

    I have an excel spreadsheet with column A as Loan Number, column H as ID, and column Y as # of Days (loan age). Here is an issue; one of the employees has two IDs (current and former ID). What I need is the OLDEST Loan number in column A of the two IDs. For example, if the 1st ID has the oldest loan of 10 days and the 2nd ID has the oldest loan of 20 days, give me the Loan Number of the 2nd ID. The formula that I currently use doesn't work. Please see Dummy Workbook. Thanks

    =INDEX('Detail Info'!$A$2:$A$2000,MATCH(1,('Detail Info'!$H$2:$H$2000=D3,D4)*(MAX(IF(('Detail Info'!$H$2:$H$2000=D3,D4),'Detail Info'!$Y$2:$Y$2000))='Detail Info'!$Y$2:$Y$2000),0))
    Attached Files Attached Files
    Last edited by Dhoang25; 12-07-2010 at 04:38 PM.

  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 Formula

    Try:

    In D5:

    Please Login or Register  to view this content.
    and in D6:

    Please Login or Register  to view this content.
    each confirmed with CTRL+SHIFT+ENTER and copied across.
    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
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: INDEX Formula

    see attachment file
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-24-2010
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: INDEX Formula

    Awesome! Thanks a bunch!

  5. #5
    Registered User
    Join Date
    05-24-2010
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: INDEX Formula

    Watersev,

    I tried NBVC's suggestion and it worked. Not sure why your formula doesn't work but thanks for helping. Much appreciated!!!

+ 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