+ Reply to Thread
Results 1 to 15 of 15

Vlookup multiple cell help

  1. #1
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Vlookup multiple cell help

    Dear all,

    i have one two sheet. in one sheet i have blank columns only without column A. i want to input rest of the other columns exactly matching with COLUMN A from sheet 2 with one vlookup formula. i can do it by seperate v lookup by everytime but i am sure there is another way to input B,C,D,E,F by matching with A from sheet 2 using multiple criteria formula. can anyone help me to teach or insert there please. attaching file.
    Attached Files Attached Files
    thanks,

    Ryan

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    Hi

    The numbers in MAT column in Sheet1(except numbers 1 & 2) does not match with the numbers in MAT column in Sheet2.

    Do you want the results only for numbers 1 & 2?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Vlookup multiple cell help

    Use this in B2 of sheet1 and drag across and down.

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: Vlookup multiple cell help

    Hi fotis,

    just 1,2 and 7 is matching. I just want those match. Nothing else

  5. #5
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: Vlookup multiple cell help

    Hi KVSRINIVASAMURTHY i use, excel 2003, could you please give me correct one, becuase as i know iferror is not compatible in 2003 version.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    So ryan, in B2 and copy down use this.

    =IFERROR(INDEX(Sheet2!B$2:B$10,MATCH($A2,Sheet2!$A$2:$A$10,0)),"")

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    For Excel 2003

    =IF(ISERROR(INDEX(Sheet2!B$2:B$10,MATCH($A2,Sheet2!$A$2:$A$10,0))),"",INDEX(Sheet2!B$2:B$10,MATCH($A2,Sheet2!$A$2:$A$10,0)))

  8. #8
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: Vlookup multiple cell help

    Dear fotis,

    thanks. It is solved now. Can you please teach me step by step how to do that. Actually it is working but i dont know how to do that

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Vlookup multiple cell help

    Try this

    Please Login or Register  to view this content.

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Vlookup multiple cell help

    Try this

    Please Login or Register  to view this content.

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    You are welcome and thanks for the rep!

    Actually this is a simple INDEX & MATCH function.

    =INDEX(Sheet2!B$2:B$10,MATCH($A2,Sheet2!$A$2:$A$10,0))

    INDEX(Sheet2!B$2:B$10
    ,is the part of the formula that we say to the formula the range that the expected results are beeing....

    MATCH($A2,Sheet2!$A$2:$A$10,0))

    The MATCH part of the formula is the one that we say to the formula in which range has to look for matching the value that exists in A2.

    It's important also to understand what dollar($) sign does.

    If you see in INDEX part INDEX(Sheet2!B$2:B$10 there is only 1 $ AFTER the column letter. This as you drag to the right becomes INDEX(Sheet2!C$2:C$10...AND SO ON..

    The second MATCH part of the formula is locked. Sheet2!$A$2:$A$10....Dollar sign exists in front and behind of column letter. This means that this renge never change when you drag dawn or across the formula.

    The first MATCH part of the formula is locked only for dragging across. The $ sign is in front of the column letter.This means that as you drag down the formula this changes to $A3..$A4 AND SO ON...BUT wwhen you drag acroos does not change..

    The IFERROR function for Excel >2003 and IF(ISERROR, for Excel <2007 have a different syntax but both offer the same result. Don't let the formula to give #N/A values when there is nothing to match..

    Also see these links.

    http://exceluser.com/blog/1107/why-i...-in-excel.html

    http://office.microsoft.com/en-us/ex...001231765.aspx

    http://www.excel-examples.com/iserror.htm

    http://www.cpearson.com/excel/relative.aspx

  12. #12
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: Vlookup multiple cell help

    Quote Originally Posted by kvsrinivasamurthy View Post
    Try this

    Please Login or Register  to view this content.
    hi kvs,

    the issue is already solved, but i as there was two soulution, one is via vLOOKUP and other is via index match function, i would really like to learn both of the procedure. Fotis already gave his explanation of index match perfectly. can i expect it from you too about the vlookup that you done which is also correct. thanks

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    Ryan as you wait for KVS to reply to your question i have to say that the first link that i provided has an excellent article explaining why is better to use INDEX & MATCH rather LOOKUP.

  14. #14
    Forum Contributor ryan4646's Avatar
    Join Date
    06-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    134

    Re: Vlookup multiple cell help

    Quote Originally Posted by Fotis1991 View Post
    Ryan as you wait for KVS to reply to your question i have to say that the first link that i provided has an excellent article explaining why is better to use INDEX & MATCH rather LOOKUP.

    the link was really helpful. thanks.

  15. #15
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Vlookup multiple cell help

    ........................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Multiple Vlookup results in one cell
    By ezrizer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2013, 08:37 PM
  2. VLookup value in a cell containing multiple entries
    By ayresm in forum Excel General
    Replies: 3
    Last Post: 08-12-2010, 10:16 AM
  3. Multiple VLOOKUP in One Cell?
    By mushman1 in forum Excel General
    Replies: 4
    Last Post: 07-01-2010, 09:20 PM
  4. vlookup of multiple references in same cell
    By darthshani in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-11-2009, 01:17 PM
  5. Vlookup multiple values within a cell? is it possible?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2008, 11:33 AM

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