+ Reply to Thread
Results 1 to 3 of 3

Sub: extract data from one excel worksheet to another worksheet

  1. #1
    Registered User
    Join Date
    11-24-2016
    Location
    india
    MS-Off Ver
    ms office10
    Posts
    50

    Sub: extract data from one excel worksheet to another worksheet

    Sir,
    Sub: extract data from one excel worksheet to another worksheet
    I have a model excel sheet enclosed. The table has a list of shares and their price range for a single day split into various price levels.
    Now I request a formula to do the following;
    In answer sheet1, I request that as I enter the level of any share, it should capture the corresponding price relating to that share from sheet 1 as illustrated;
    Likewise In answer sheet2, I request that as I enter any price of any share, it should capture the corresponding level relating to that share from sheet 1 as illustrated;

    Thanks in advance
    vks1964
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,829

    Re: Sub: extract data from one excel worksheet to another worksheet

    On "Answer1" sheet, in C2, you can enter this:
    =INDEX(Sheet1!$B$2:$H$8,MATCH(answer1!A2,Sheet1!$A$2:$A$8,0),MATCH(answer1!B2,Sheet1!$B$1:$H$1,1))
    And then copy it down.

    On Answer2 sheet, in C2 you can enter this:
    =INDEX(Sheet1!$B$1:$H$1,1,MATCH(answer2!B2,Sheet1!B2:H2,1))
    and copy it down.

  3. #3
    Registered User
    Join Date
    11-24-2016
    Location
    india
    MS-Off Ver
    ms office10
    Posts
    50

    Re: Sub: extract data from one excel worksheet to another worksheet

    Quote Originally Posted by Gregb11 View Post
    On "Answer1" sheet, in C2, you can enter this:
    =INDEX(Sheet1!$B$2:$H$8,MATCH(answer1!A2,Sheet1!$A$2:$A$8,0),MATCH(answer1!B2,Sheet1!$B$1:$H$1,1))
    And then copy it down.

    On Answer2 sheet, in C2 you can enter this:
    =INDEX(Sheet1!$B$1:$H$1,1,MATCH(answer2!B2,Sheet1!B2:H2,1))
    and copy it down.
    Thanks sir! It works

+ 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. Replies: 1
    Last Post: 06-24-2018, 06:02 PM
  2. Extract data from Excel Worksheet using multiple criteria
    By Beudean Dorin in forum Excel General
    Replies: 0
    Last Post: 03-26-2013, 01:31 PM
  3. Replies: 0
    Last Post: 07-09-2012, 03:10 PM
  4. extract specific data from web to excel worksheet using button
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2009, 06:31 PM
  5. [SOLVED] Excel - Extract data from one worksheet to many spreadsheets ...
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2006, 09:25 PM
  6. Replies: 1
    Last Post: 04-09-2006, 04:34 PM

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