+ Reply to Thread
Results 1 to 10 of 10

How do vlookup table array 2 column in excel

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    How do vlookup table array 2 column in excel

    Sir,

    lookup value are in row wise A3:A33. but table array column wise J22:K25,range lookup value in column L22:L25.

    am trouble to vlookup from to/between 2 ranges.

    the following formula am apply in B3={VLOOKUP(A3,CHOOSE({1,2,3},$J$3:$J$25,$K$3:$K$25,$L$3:$L$25),3,0)} but value return error most of rows.

    Data:

    I3:L3 (Table Array) (Range Lookup)

    Month From to Date Week
    Apr-15 01/04/2015 02/04/2015 Week01
    Apr-15 03/04/2015 09/04/2015 Week02
    Apr-15 10/04/2015 16/04/2015 Week03
    Apr-15 17/04/2015 23/04/2015 Week04
    Apr-15 24/04/2015 30/04/2015 Week05
    May-15 01/05/2015 07/05/2015 Week01
    May-15 08/05/2015 14/05/2015 Week02
    May-15 15/05/2015 21/05/2015 Week03
    May-15 22/05/2015 28/05/2015 Week04
    May-15 29/05/2015 31/05/2015 Week05
    Jun-15 01/06/2015 04/06/2015 Week01
    Jun-15 05/06/2015 11/06/2015 Week02
    Jun-15 12/06/2015 18/06/2015 Week03
    Jun-15 19/06/2015 25/06/2015 Week04
    Jun-15 26/06/2015 30/06/2015 Week05
    Jul-15 01/07/2015 09/07/2015 Week01
    Jul-15 10/07/2015 16/07/2015 Week02
    Jul-15 17/07/2015 23/07/2015 Week03
    Jul-15 24/07/2015 31/07/2015 Week04
    Aug-15 01/08/2015 06/08/2015 Week01
    Aug-15 07/08/2015 13/08/2015 Week02
    Aug-15 14/08/2015 20/08/2015 Week03
    Aug-15 21/08/2015 31/08/2015 Week04

    Required Format:

    Aug-15

    A C(Lookup Value)

    Date Required Format
    01/08/2015 Week01
    02/08/2015 Week01
    03/08/2015 Week01
    04/08/2015 Week01
    05/08/2015 Week01
    06/08/2015 Week01


    file attached.please hep me.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: How do vlookup table array 2 column in excel

    Given that the From-dates are in a sorted series and given for all periods you want to lookup, what do you think of:

    =LOOKUP($A3,$J$3:$J$25,$L$3:$L$25)

    put in C3 and copy down

    Regards,
    berlan

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,057

    Re: How do vlookup table array 2 column in excel

    If your dates as sorted (as in example) then you need to use TRUE criteria in VLOOKUP and it will work:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Never use Merged Cells in Excel

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,999

    Re: How do vlookup table array 2 column in excel

    you just need to remove 0 from last

    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: How do vlookup table array 2 column in excel

    ARRAY Formula in D3 then drag down.
    Please Login or Register  to view this content.
    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: How do vlookup table array 2 column in excel

    berlan ,zbor ,shukla.ankur281190 ,kvsrinivasamurthy - thanks you so much excel captains.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,888

    Re: How do vlookup table array 2 column in excel

    Can you mark as solved and "Rep" those who helped you.

  8. #8
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: How do vlookup table array 2 column in excel

    JohnTopley Sir,

    Again i need the need the help. how do apply the vlookup row to column.

    i have insert the drop down list in A1.

    please help me.file attached.

    Data:


    Week01 Week01 Week02 Week02 Week03 Week03 Week04 Week04
    Apr-15 01/04/2015 02/04/2015 03/04/2015 09/04/2015 10/04/2015 16/04/2015 17/04/2015 23/04/2015
    May-15 01/05/2015 07/05/2015 08/05/2015 14/05/2015 15/05/2015 21/05/2015 22/05/2015 28/05/2015
    Jun-15 01/06/2015 04/06/2015 05/06/2015 11/06/2015 12/06/2015 18/06/2015 19/06/2015 25/06/2015
    Jul-15 01/07/2015 09/07/2015 10/07/2015 16/07/2015 17/07/2015 23/07/2015 24/07/2015 31/07/2015
    Aug-15 01/08/2015 06/08/2015 07/08/2015 13/08/2015 14/08/2015 20/08/2015 21/08/2015 31/08/2015
    Sep-15
    Oct-15
    Nov-15
    Dec-15
    Jan-16
    Feb-16
    Mar-16

    Required Format:

    Aug-15

    Date Required Format
    01/08/2015 Week01
    02/08/2015 Week01
    03/08/2015 Week01
    04/08/2015 Week01
    05/08/2015 Week01
    06/08/2015 Week01
    Attached Files Attached Files

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: How do vlookup table array 2 column in excel

    C3=LOOKUP($A3,INDEX($F$3:$O$14,MATCH($A$3,$E$3:$E$14),),$F$2:$O$2)
    Please Login or Register  to view this content.
    Try this and copy towards down

    Here you can delete entire columns G, I, K, M and O Then also the result will be the same
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  10. #10
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: How do vlookup table array 2 column in excel

    SIVA SIR,

    YOU ALWAYS LEGEND FOR EXCEL.ROCKING PERFORMANCE.

    ESPECIALLY I LIKE TRICKS "Here you can delete entire columns G, I, K, M and O Then also the result will be the same"

    LOT OF THANKS SIR.

+ 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] vlookup: search for value in SECOND column of table array and return value from FIRST
    By matt_pl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-28-2014, 06:02 AM
  2. [SOLVED] vlookup table array and column index number to the left
    By Mengo85 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2012, 08:24 AM
  3. Replies: 2
    Last Post: 02-23-2011, 07:24 AM
  4. Vlookup Table Array
    By Brandy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2008, 10:09 PM
  5. VLOOKUP - 3 Table Array
    By tangomj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2006, 12:50 PM
  6. [SOLVED] Table array in VLOOKUP (EXcel 2003)
    By J BRAUD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2006, 01:35 PM

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