+ Reply to Thread
Results 1 to 7 of 7

When getting a match on VLOOKUP bring in another cell on the same row

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    When getting a match on VLOOKUP bring in another cell on the same row

    This is my formula which works but would like to modify it so when the lookup value is found it also brings in data to sheet 1 from (sheet 2) columns F & G on the same row.

    Currently when sheet 1 B1 matches sheet 2 column E on it populates that data from Sheet 2 onto Sheet 1 column E. What would be great if when the lookup values is match it also pull data from sheet 2 columns F & G.

    HTML Code: 

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    Change the the argument before false (1) to 2 to bring back column F and 3 to bring back G.

    If you need more help than that attach a sample workbook showing us your expected outcome?

    BSB

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    Not sure how to do that - I'll work on sending the spreadsheet

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    To bring through column E:

    =VLOOKUP(B1,'Sheet2'!$E$1:$G$27,1,FALSE)

    To bring through column F:

    =VLOOKUP(B1,'Sheet2'!$E$1:$G$27,2,FALSE)

    To bring through column G:

    =VLOOKUP(B1,'Sheet2'!$E$1:$G$27,3,FALSE)

    To do it all in one formula that can be copied across and down:

    =VLOOKUP(B1,'Sheet2'!$E$1:$G$27,COLUMNS($C$1:C1),FALSE)
    Last edited by AliGW; 07-11-2018 at 09:38 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    That looks good, I'll give it a try and report back.

  6. #6
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    Excellent - THANKS

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: When getting a match on VLOOKUP bring in another cell on the same row

    You're welcome!

+ 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. Match two sheets columns Cell text and bring data
    By farrukh in forum Excel General
    Replies: 2
    Last Post: 05-31-2018, 08:18 AM
  2. [SOLVED] Bring through value of cell above or below VLOOKUP result
    By Declamatory in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-19-2018, 04:09 AM
  3. [SOLVED] Index Match to bring a value between a range
    By kricek7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2017, 08:51 AM
  4. Formula to match the date and bring YES or NO
    By rizmomin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2015, 10:18 AM
  5. Array Formula Lookup - Bring back Lowest Date + Bring Back Cell Location
    By Matt1998 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-04-2014, 12:08 PM
  6. how to bring all vlookup returns even with duplicate vlookup search keys
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2013, 04:53 PM
  7. can a vlookup bring over a cell color or just contents?
    By pat67 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2013, 02:51 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