+ Reply to Thread
Results 1 to 2 of 2

Matching

  1. #1
    Registered User
    Join Date
    03-17-2006
    Posts
    49

    Matching

    I have three columns and I want to find a match in either column a,b,or c and have it return either one of the two colums left out of a,b or c. How do I attempt that?

    Thank you,

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,696
    So if there's a match with B do you want to return A or C, or doesn't it matter?

    This formula searches for E2 in A2:C2 and returns the cell to the left, unless the match is C2 in which case it returns A2

    =INDEX(A2:C2,MOD(MATCH(E2,A2:C2,0),3)+1)

+ 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