+ Reply to Thread
Results 1 to 3 of 3

Pull data from other tab - vlook? indexmatchmatch?

Hybrid View

  1. #1
    Registered User
    Join Date
    08-18-2017
    Location
    Charlotte, NC, USA
    MS-Off Ver
    Microsoft 2016
    Posts
    74

    Pull data from other tab - vlook? indexmatchmatch?

    I would like to capture the "Ins" from Sheet2 and paste it in Sheet1 under the column "Ins"

    I tried to use vlookup but I'm not sure how to write the formula to specify 3 things in order to get the "Ins" data.

    For example, the end result should look like this in sheet1:
    Ins
    Thomasville | Company - H&C | 0X0 | 0| 1| 0| 1| 0 <--- the last column is what I need filled in from Sheet2 (the column is green in sheet1 and blue in sheet2)

    row 73 (sheet1);
    Bentonville | Drive To Your Door | 10x10 | 66 | 7 | 0 | 73 | 3 <--- 3 is what I need pasted in Sheet1 from Sheet2.

    I hope this is clear to understand. I've attached a excel sample of the above.

    I appreciate everyone's help here.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,709

    Re: Pull data from other tab - vlook? indexmatchmatch?

    In J2 =INDEX(Sheet2!$I$2:$I$92,MATCH(1,IF(Sheet2!$A$2:$A$92=Sheet1!C2,IF(Sheet2!$B$2:$B$92=Sheet1!D2,IF(Sheet2!$C$2:$C$92=Sheet1!E2,1))),0)) and copy down

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-18-2017
    Location
    Charlotte, NC, USA
    MS-Off Ver
    Microsoft 2016
    Posts
    74

    Re: Pull data from other tab - vlook? indexmatchmatch?

    This answered it - thank you Alan

+ 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] Vlook up return no data
    By ehabmad in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-14-2017, 10:52 AM
  2. Using vlook up formulas is there a way to pull color
    By CATHERINE C in forum Excel General
    Replies: 6
    Last Post: 08-29-2016, 02:23 PM
  3. help with Vlook up or function to pull data from excel database
    By gullit in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-22-2015, 05:31 PM
  4. Replies: 0
    Last Post: 08-09-2013, 05:54 PM
  5. Run macro on all files in the folder
    By maheshsingh21 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-17-2012, 12:56 AM
  6. VLOOK UP duplicate data?
    By Couchy in forum Excel General
    Replies: 9
    Last Post: 04-02-2012, 08:31 AM
  7. VBA Pull/Vlook up to same range on Dynamic amount of workbooks
    By CBG05QB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2011, 11:08 AM

Tags for this Thread

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