+ Reply to Thread
Results 1 to 4 of 4

When dong VLOOKUP, when I drag the formula down, I want the COLUMN Lookup Value to change

  1. #1
    Registered User
    Join Date
    12-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    46

    When dong VLOOKUP, when I drag the formula down, I want the COLUMN Lookup Value to change

    Hi,
    I have a very complicated looking spreadsheet that I want to change from horizontal columns of data into a vertical spreadsheet. I figured that the best way to do this is to do a vlookup to return the values I'm looking for. I've concatenated the 2 criteria that needed to be met but when I perform the VLOOKUP, I realized that I want my LOOKUP VALUE to shift one to the right (on the table array) when I drag the formula ONE cell down.

    I googled this and discovered OFFSET and COUNT as nested formulas but I cannot get it to work.

    I know I'm kinda close but I don't know what I'm missing. I've added a very trivial spreadsheet to explain my dilemna...hopefully it has enough info.

    Just imagine a very large spreadsheet with this issue....

    Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by kibbles; 09-30-2019 at 11:32 PM.

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: When dong VLOOKUP, when I drag the formula down, I want the COLUMN Lookup Value to cha

    (Sorry about my English).

    I can not figure out whole picture of your requirement.

    Please try this formula

    B50
    =INDEX($G$46:$K$46,1,MATCH(A50,$A$46:$E$46,0))

    Regards.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: When dong VLOOKUP, when I drag the formula down, I want the COLUMN Lookup Value to cha

    Please try at
    A50
    =INDEX($A$3:$A$7,CEILING(ROWS(A$50:A50)/COLUMNS($B$2:$F$2),1))&INDEX($B$2:$F$2,MOD(ROWS(A$50:A50)-1,COLUMNS($B$2:$F$2))+1)

    B50
    =INDEX($G$46:$K$46,MATCH(A50,$A$46:$E$46,))


    drag A50:B50 down

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

    Re: When dong VLOOKUP, when I drag the formula down, I want the COLUMN Lookup Value to cha

    In A60
    Please Login or Register  to view this content.
    In B60
    Please Login or Register  to view this content.
    In C60
    Please Login or Register  to view this content.
    Copy down all
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 10-01-2019 at 03:43 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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. Multiple pictures lookup formula to drag down
    By Estevaoba in forum Excel General
    Replies: 3
    Last Post: 02-19-2019, 09:46 AM
  2. Replies: 1
    Last Post: 06-14-2017, 04:54 PM
  3. Replies: 4
    Last Post: 03-11-2016, 03:15 PM
  4. drag sum formula down a column but change the formula
    By stephme55 in forum Excel General
    Replies: 6
    Last Post: 02-22-2016, 03:02 PM
  5. Replies: 1
    Last Post: 05-04-2015, 12:14 PM
  6. Vlookup but change column index number as you drag to next column
    By yankeekid86 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2013, 09:46 AM
  7. How do I keep letters the same and change the # for drag formula
    By ASST in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-22-2006, 09:30 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