+ Reply to Thread
Results 1 to 4 of 4

Looking at pulling data from 2 spreadsheets into corresponding cells

  1. #1
    Registered User
    Join Date
    09-10-2014
    Location
    St. Lous, MO
    MS-Off Ver
    Office 2010
    Posts
    2

    Looking at pulling data from 2 spreadsheets into corresponding cells

    Here is a explanation of what I am trying to do. Anyone have any ideas on how to make this happen? Any advice would be greatly appreciated. Im sorry if this is confusing please let me know if I can be more clear on something.


    If spreadsheet “X” has a value (example 280x) in column "B" that appears on spreadsheet “Y” in column "B" then import value from spreadsheet “Y” column “C” that is in the same row to the value in column “B” to column “C” in spreadsheet “X”.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Looking at pulling data from 2 spreadsheets into corresponding cells

    In cell C2 of X, use

    =VLOOKUP(B2,Y!B:C,2,False)

    Assuming that your first value is in row 2.

    If you have separate workbooks, then type

    =VLOOKUP(B2,

    and navigate to Y and choose the sheet and columns B:C of that sheet, then type

    ,2,False)

    and press enter.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    09-10-2014
    Location
    St. Lous, MO
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Looking at pulling data from 2 spreadsheets into corresponding cells

    Sir, I can not thank you enough. You have certainly made my day. If I may ask a follow up question. Is there a way when a matching value is not found to pull data from to have the formula insert a "0" instead of #N/A?

    Thanks again

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Looking at pulling data from 2 spreadsheets into corresponding cells

    Of course.

    Use the IFERROR Function

    =IFERROR(VLOOKUP(B2,Y!B:C,2,False),"0")

+ 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] Auto Pulling data from different spreadsheets
    By EdiIte in forum Excel General
    Replies: 4
    Last Post: 07-29-2014, 01:30 PM
  2. Pulling data from multiple spreadsheets without opening
    By anthony_91 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-23-2013, 08:27 PM
  3. Smart Tags for pulling data from other spreadsheets
    By evanzo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2013, 01:36 PM
  4. Pulling Data form multiple pages/ spreadsheets
    By Abies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-27-2011, 07:05 AM
  5. Pulling data from multiple spreadsheets using VBA
    By tittiot in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2010, 04:38 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