+ Reply to Thread
Results 1 to 5 of 5

adjacent cell return value? trying to fetch data from another worksheet

  1. #1
    Registered User
    Join Date
    09-23-2019
    Location
    Isle of man
    MS-Off Ver
    16
    Posts
    11

    Question adjacent cell return value? trying to fetch data from another worksheet

    Hi gang
    Thanks in advance for the assistance.

    I'm working with two separate excel files in different departments.

    Book1 "my" file I work on
    Book2 "Master list" of values I search on.
    Book2 has Column A showing values of AZ###
    and Column B has numbers ###-#### associated with each AZ### value

    I'm trying to find a way to look for an adjacent cell value on searching for a particular AZ### value in Book2
    and return that value in Book1 next to the value I'm looking for

    excel search.jpg

    I hope I explained this well enough and the image helps

    Cheers

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: adjacent cell return value? trying to fetch data from another worksheet

    Give this a try.

    =INDEX([Book2]Sheet1!$B$1:$B$11,MATCH(A1,[Book2]Sheet1!$A$1:$A$11,0))

    Note: For future references, a sample workbook is much easier to work with than a picture. A picture we must recreate.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    09-23-2019
    Location
    Isle of man
    MS-Off Ver
    16
    Posts
    11

    Re: adjacent cell return value? trying to fetch data from another worksheet

    Thanks Jeffrey, nice one.

    I was playing around and came across
    =VLOOKUP(A1,[Book2]Sheet1!$A$1:$B$10,2,FALSE)

    Both formulas work great.

    Cheers for the assistance and quick reply +rep

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: adjacent cell return value? trying to fetch data from another worksheet

    You are very welcome and thanks for the feedback. You're right, often times more than one way to skin the cat.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Registered User
    Join Date
    09-23-2019
    Location
    Isle of man
    MS-Off Ver
    16
    Posts
    11

    Re: adjacent cell return value? trying to fetch data from another worksheet

    Just realising, if by chance, someone moves the book2 worksheet. is there a way the above formula can be saved, data wise. as I don't want book1 to change the results.

+ 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] Trying to compare one cell with a list of cells and return data in adjacent cell on match
    By possumbarnes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2019, 10:41 AM
  2. FORMULA: Find SKU and return data from adjacent cell
    By ccwbass in forum Excel General
    Replies: 9
    Last Post: 04-06-2017, 02:31 AM
  3. Replies: 3
    Last Post: 07-21-2015, 05:10 PM
  4. Replies: 6
    Last Post: 03-06-2013, 03:30 PM
  5. [SOLVED] Fetch Data: Return Multiple Rows based on Cell Content
    By pdreyest in forum Excel General
    Replies: 8
    Last Post: 09-24-2012, 12:43 AM
  6. Replies: 1
    Last Post: 12-22-2010, 09:08 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