+ Reply to Thread
Results 1 to 5 of 5

lookup and return data from one table to another based on a cell reference.

  1. #1
    Registered User
    Join Date
    03-07-2018
    Location
    Northampton, England
    MS-Off Ver
    MS Office 2016
    Posts
    7

    lookup and return data from one table to another based on a cell reference.

    Morning all,

    I am trying to create a workbook that is able to change the data returned based on the station code placed within another cell.

    I have attached the workbook.

    what the formula needs to do is on the sheet "DS Data" when the DS code changes in cell B2 then it pulls the correct data for each week into each table from another sheet. in this instance it would be the "Ranking DPMO Data"

    This would mean that if the code in B2 changes then so would the data to the correct DS code.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,586

    Re: lookup and return data from one table to another based on a cell reference.

    Try this In C5

    =INDEX(StationDPMORank[[1]:[Column52]],MATCH($B$2,StationDPMORank[DS],0),MATCH("Week "&$B5,'Ranking DPMO Data'!$E$3:$DD$3,0))
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Registered User
    Join Date
    03-07-2018
    Location
    Northampton, England
    MS-Off Ver
    MS Office 2016
    Posts
    7

    Re: lookup and return data from one table to another based on a cell reference.

    That's Fantastic, Thanks for your Help.

  4. #4
    Registered User
    Join Date
    03-07-2018
    Location
    Northampton, England
    MS-Off Ver
    MS Office 2016
    Posts
    7

    Re: lookup and return data from one table to another based on a cell reference.

    Is there a way to alter this formula to take into account the 1.1 column rather than the 1 column? many thanks

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: lookup and return data from one table to another based on a cell reference.

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Using A Formula To Lookup Data From Another Table Based On A Reference Column
    By TheBaileyBrew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2017, 09:41 PM
  2. [SOLVED] Data Validation List to Return Variable/Dynamic Data based on Reference Table
    By dilbert1865 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2014, 09:08 AM
  3. Lookup Cells and Return Reference based on 2 values, from different sheets
    By Samantha_O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 07:18 AM
  4. double lookup to return cell value from data table
    By maacmaac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2011, 04:52 PM
  5. [SOLVED] Lookup a value and return its cell reference instead of the value
    By LBenslay in forum Excel General
    Replies: 1
    Last Post: 07-19-2006, 01:25 PM
  6. [SOLVED] return cell reference in a table based upon given lookup criteria
    By Travis in forum Excel General
    Replies: 3
    Last Post: 03-15-2006, 10:35 AM
  7. Return cell reference of lookup value
    By bobm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2005, 04:05 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