+ Reply to Thread
Results 1 to 17 of 17

Pulling data from one sheet to another using index match

  1. #1
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Pulling data from one sheet to another using index match

    Hey all!

    I am trying to pull data from one sheet and insert it into another and I believe Index Match is the formula I need to use, but it's not one that I'm familiar with enough to put together. I have attached a copy of the spreadsheet. The 3 yellow columns (B, D, O) on the "AgentSession.RPT" sheet contain the data that I need to pull and insert on the "Data" sheet in columns A, B and C.

    However, all I need from the "AgentSession.RPT" sheet in Column B are the agent names. Column D, I need exactly what's listed. Column O, I only need the top number for each agent (See Cell O11, O15, O19 and O23).

    Once this information has been extracted properly, I need it to look like the "Data" sheet.

    Thank you in advance for any assistants that you can give. This is a multi-part project, but I'm lost on part 1.
    Attached Files Attached Files
    Last edited by lesiahawk; 07-25-2019 at 10:58 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,387

    Re: Index Match

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Index Match

    Thank you AliGW! My apologies. I have corrected the title.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Pulling data from one sheet to another using index match

    Maybe put this on B3 and copied down and cross, and on B1 change to "Session":

    =INDEX(AgentSession.RPT!$D$11:$Q$24,MATCH(INDEX(AgentSession.RPT!$B$11:$B$24,MATCH($A3,AgentSession.RPT!$B$11:$B$24,0)-1),AgentSession.RPT!$B$11:$B$24,0),MATCH(B$1,AgentSession.RPT!$D$8:$Q$8,0))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    Thanks Azumi! That works perfectly. But I'm curious, why does it not work for column A on the Data sheet?

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Pulling data from one sheet to another using index match

    Have you changed cell B1 to "Session" (without double quotes)

  7. #7
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86
    Yes, and it works for the cells in column b and c. However, if I try to use the same formula in column a to pull the agent, names from the AgentSessionRPT Sheet, I get errors in column a.

  8. #8
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Pulling data from one sheet to another using index match

    I don't understand for column A which one? My formula is using criteria/condition on cell A3 to AA6 and for column header on cell B1 and C1, you can change column header on B1 and C1 as exactly on your data sheet like "Sysrtem" or "Wrap" or "Idle", etc

  9. #9
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    My apologies. I am trying to pull the names from Column B on the "AgentSession.RPT" sheet and insert them into Column A on the "Data" sheet also. I don't want to have to manually enter these names every week because eventually the "AgentSession.RPT" and the "Data" sheets will be in 2 separate work books that I will have to reference in order to create the same result.

  10. #10
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    Azumi did you have a chance to take another look at the formula?

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,869

    Re: Pulling data from one sheet to another using index match

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

    Note that if the "AgentSession.RPT" sheet will be in a different workbook, then my understanding is that these formulas will only work while both workbooks are open.
    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.

  12. #12
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    Thanks JeteMC! I'm going to need a little help with this one. I tried plugging the formula you suggested on the Data Sheet in Cell A3 (left cell B1 as "System") but it returned a blank cell. I did the same for cells A3:C6 and all cells returned blank. I wasn't able to pick the formula apart enough to determine where the blank was coming from.

  13. #13
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,869

    Re: Pulling data from one sheet to another using index match

    Sorry about that, I overlooked that you are using the 2007 version which does not support AGGREGATE. I replaced that formula with the following array entered formula*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Note that to activate this formula you will need to:
    1. Select cell A3,
    2. Paste the formula into the formula bar,
    3. Simultaneously press the Ctrl, Shift and Enter keys.
    You may then copy down (this formula is only for column A).
    Here is a copy of the original file with the formula I posted applied to column A and Azumi's formula applied to columns B:C
    Let us know if you have any questions.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    AWESOME! Everything works PERFECTLY!! Thanks JeteMC!

  15. #15
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    I might have spoken to soon. When I separated the worksheets into 2 separate workbooks (Agent Session Report & Data) and overrode the data currently in the Agent Session Report workbook with new data, Column A on the Data workbook pre-fed the names with no problem from Column B on the Agent Session Report workbook. However, Column B and C on the Data workbook return #N/A. I'm not sure why.

  16. #16
    Registered User
    Join Date
    06-09-2015
    Location
    Statesville, NC
    MS-Off Ver
    365
    Posts
    86

    Re: Pulling data from one sheet to another using index match

    I figured it out!!! Thanks everyone!!

  17. #17
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,869

    Re: Pulling data from one sheet to another using index match

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have blessed day.

+ 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] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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