+ Reply to Thread
Results 1 to 6 of 6

How to get data from another sheet by matching multiple cells

  1. #1
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    How to get data from another sheet by matching multiple cells

    Ref.attachment DATA.XLSX

    Sheet1 has Symbols such as 20MICRONS etc (upto 2000 symbols).

    In this sheet i need to get data for "OPEN, HIGH, LOW, CLOSE, LAST, PREVCLOSE, TOTTRDQTY, TOTALTRADES" for the date given above these headers - from sheet list-1, list-2 etc. (date is given in A1 cell of sheets list-1, list-2).

    how to do this?
    Attached Files Attached Files
    Last edited by jilaba; 06-22-2018 at 03:28 PM.
    Ask me how to hate XL.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: How to get data from another sheet by matching multiple cells

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: How to get data from another sheet by matching multiple cells

    Quote Originally Posted by JLGWhiz View Post
    Please Login or Register  to view this content.
    i did not understand. i am not used to excel much. pls

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: How to get data from another sheet by matching multiple cells

    That is a VBA macro.
    1. If your Excel security settings allow you to accesss VBA, then save your workbook as a macro enabled workbook (.xlsm)
    2. Open the vb editor by pressing and holding the Alt key while you press the F11 key. (Alt + F11)
    3. If the code pane in the editor is dark, click 'Insert' on the tool bar, then click 'Module'
    4. When the code pane is bright, copy the code from the thread above and paste it into the code pane.
    5. Click save and close the vb editor.
    6. You can run the macro from the Excel window by pressing Alt + F8, click the macro name, then click Run.

    You only have to do steps 1 - 5 once. From then on you just do step 6 when you want to run the macro.

  5. #5
    Forum Contributor
    Join Date
    02-27-2009
    Location
    Chennai, India
    MS-Off Ver
    Excel 2013
    Posts
    327

    Re: How to get data from another sheet by matching multiple cells

    Quote Originally Posted by JLGWhiz View Post
    That is a VBA macro.
    Thanks a lot. It worked and solved.

  6. #6
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: How to get data from another sheet by matching multiple cells

    You're welcome,
    regards, JLG

+ 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. Allocation of columns to other sheet based on matching headers
    By etaver87 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-24-2016, 09:44 AM
  2. Allocation of columns to other sheet based on matching headers
    By etaver87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2016, 09:41 AM
  3. [SOLVED] Retrieve Data From Multiple Worksheets By Matching Column Headers And Row IDs
    By Ariff_Chowdhury in forum Excel Programming / VBA / Macros
    Replies: 67
    Last Post: 04-20-2014, 03:18 PM
  4. [SOLVED] Counting filtered data and matching to specific monthly headers
    By macrorookie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-02-2014, 09:44 PM
  5. Replies: 4
    Last Post: 02-08-2014, 02:31 PM
  6. [SOLVED] macro for finding data from diffrent sheet matching with date
    By harishb63 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-28-2013, 04:56 AM
  7. [SOLVED] Using LOOKUP to pull matching data from specific row headers
    By IanSpecs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-03-2012, 04:59 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