+ Reply to Thread
Results 1 to 4 of 4

INEX and MATCH reverse order

  1. #1
    Registered User
    Join Date
    08-08-2006
    Posts
    4

    INEX and MATCH reverse order

    Hi all.
    I’m Using Excel 2007
    I was wondering if I could reverse the following formula.

    =INDEX(Sheet1!$E$2:$E$4000,MATCH(J41,Sheet1!$F$2:$F$4000,FALSE),1)

    I have two columns: Date and Description. The dates run oldest to newest.
    I want to get the date from column E next to a description in column F when it equals Payday (J41)

    It works a treat but it’s finding the first occurrence of Payday and returning that date. I want it to find the last occurrence of Payday and return the relative date.

    Any help would be greatly appreciated.

    Jase

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Hello Jase, try this

    =LOOKUP(2,1/(Sheet1!$F$2:$F$4000=J41),Sheet1!$E$2:$E$4000)

  3. #3
    Registered User
    Join Date
    08-08-2006
    Posts
    4

    Pure genius

    Thank you very very much.

    I'll try and figure out how this works now.

    Take care,

    Jase

  4. #4
    Registered User
    Join Date
    01-09-2012
    Location
    mobile, al, usa
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: INEX and MATCH reverse order

    Quote Originally Posted by daddylonglegs View Post
    Hello Jase, try this

    =LOOKUP(2,1/(Sheet1!$F$2:$F$4000=J41),Sheet1!$E$2:$E$4000)
    Pure genius! Man!

+ 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