+ Reply to Thread
Results 1 to 7 of 7

How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED)

  1. #1
    Registered User
    Join Date
    11-08-2018
    Location
    Copenhagen
    MS-Off Ver
    16.16.3 for Mac
    Posts
    6

    Question How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED)

    Hello,

    I am looking for a function that will allow me to look up, and insert information into a column from another tab in my sheet.

    Specifically, I have two sheets - both with an Account ID in Column A, listing different information. What I want to find, is a function that will allow me to look at the Account ID in column A of Sheet 1, search that same account ID in Column A of sheet 2, and, if the account ID exists in the second sheet, list the number in column C, of sheet 2.

    E.g (attached) the first sheet has three columns - one with the account ID, one with account type and one with Year. The second sheet also has three columns - one with account ID, one with account type and one with Amount. What I am looking for, is a way of transferring the Amount column from the second to the first sheet, matching it with the accound ID if it exists on both sheets - and leave it blank if it only exists on sheet 1.

    I have tried with Vlookup and Hlookup, but I am not sure what I am doing wrong. Any help would be appreciated!

    Thanks.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Hi, welcome to the forum

    Try this...
    =IFERROR(VLOOKUP(A2,'Donation Amount'!$A$2:$C$626,3,0),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-08-2018
    Location
    Copenhagen
    MS-Off Ver
    16.16.3 for Mac
    Posts
    6

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Hi FDibbins,

    Thank you!

    It seems to work for the first row, but copies the information for all other rows. Is there a way to alter the formula so I can drag it down for all rows?

    Thanks.

  4. #4
    Registered User
    Join Date
    11-08-2018
    Location
    Copenhagen
    MS-Off Ver
    16.16.3 for Mac
    Posts
    6

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Hi again,

    I had forgotten that I set the sheet calculations to manual - it worked once I calculated the sheet.

    Do you know if it would be possible to do this same function but with information from an entirely different Workbook? I need to cross-consolidate a bunch of information in a single workbook, and would like not to have to keep each of the sheets needed in the same workbook.

    Thank you!
    Last edited by m_nissen; 01-07-2019 at 05:48 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Sure. Instead of just referencing just that sheet, change the ref to include the workbook name as well

  6. #6
    Registered User
    Join Date
    11-08-2018
    Location
    Copenhagen
    MS-Off Ver
    16.16.3 for Mac
    Posts
    6

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Perfect - thank you!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to look up info in other tab - based on ID listed in Column (EXAMPLE FILE ATTACHED

    Happy to 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] Formula Needed to populate info from one sheet to another based on cell entry, WS attached
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-28-2017, 12:45 PM
  2. Replies: 4
    Last Post: 03-31-2015, 11:40 AM
  3. [SOLVED] Find cell address of dates listed in column based on match
    By jprlimey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2014, 12:19 AM
  4. [SOLVED] Create hyperlink to file in another folder if listed in column A
    By MusicMan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-05-2013, 04:43 AM
  5. Replies: 4
    Last Post: 10-02-2013, 03:00 PM
  6. Get values from same cell address from listed file names in column....
    By Prasadg2007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2013, 12:16 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