+ Reply to Thread
Results 1 to 10 of 10

lookup or match with left & right

  1. #1
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    lookup or match with left & right

    Hi
    Here example file. I have try lot of formula to work with. Nothing solved. Anyone got any idea?
    Attached Files Attached Files
    Last edited by micope21; 11-12-2011 at 06:08 AM.

  2. #2
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: lookup or match with left & right

    Well i found a solution in 2007 but it will not work in 2003. So I'm trying to find a 2003 solution.
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: lookup or match with left & right

    Quote Originally Posted by khamilton View Post
    Well i found a solution in 2007 but it will not work in 2003. So I'm trying to find a 2003 solution.
    Thank you for reply. I'm sorry I got excel 2010 and forgot to change my detail. Yes I agreed won't work with 2003.

  4. #4
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: lookup or match with left & right

    well then try this monster.


    Example 1.xlsx

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: lookup or match with left & right

    Hello micop21;

    Use this Array Formula in D3 & copy across & down.

    =IFERROR(TRIM(SUBSTITUTE(SUBSTITUTE(LOWER(INDEX(D$16:D$21,MATCH("* "&$B3&" *"," "&D$16:D$21&" ",0))&" v"),$B3&" v",""),"v","")),"")

    See the attached.
    Attached Files Attached Files
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: lookup or match with left & right

    @ haseeb Just an FYI some columns on your example have multiple number 1's

  7. #7
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: lookup or match with left & right

    sorry i don't now where my attachment went. i will reattach.

  8. #8
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: lookup or match with left & right

    Okay this should be correct.

    Copy of Example1.xlsx

  9. #9
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: lookup or match with left & right

    Thank you very much khamilton & Haseeb A . I copy both to League stats file and it work.

    Haseeb A: There 2 missing number 1 which should be 11 and I put in =IF($AA$25="x","",IF(VLOOKUP(E62,$B$62:$C$73,2,FALSE)<>"",VLOOKUP(E62,$B$62:$C$73,2,FALSE))) for teams names. It come up all N/A.

    khamilton: Your spot on. It work with =IF($AA$25="x","",IF(VLOOKUP(E62,$B$62:$C$73,2,FALSE)<>"",VLOOKUP(E62,$B$62:$C$73,2,FALSE))) Got all teams names.

    I didn't realise need to work with {=formula} I was working without it that why it didn't work at all. I been with excel 2003 for long time till i brought new excel 2010 month ago. That something i need to learn to work on it. Thank you for your time. Problem solved.

    Cheers.
    Last edited by micope21; 11-12-2011 at 07:41 AM.

  10. #10
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: lookup or match with left & right

    aaaaaaaaaaa
    Last edited by micope21; 11-12-2011 at 07:45 PM.

+ 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