+ Reply to Thread
Results 1 to 13 of 13

Need Help pulling information from one sheet to another sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    10-30-2013
    Location
    Jackson, NJ
    MS-Off Ver
    Excel 2010
    Posts
    7

    Need Help pulling information from one sheet to another sheet

    I have a spreadsheet that reflects the names of Sales Reps and Companies that they've done business with. Each month I must send each of the Sales Reps a copy of only "his/her" sales. I was trying to use the vLookup functions so that it can search for a specific Sales Rep and populate only his/her sales information into another tab of the same document. This is done monthly so each month the tab for Sales Reps will be the same and only the data on the initial document page is modified. Is there a VLookup function or a VBA/Macro Code that I can implement that will only pull the information for each Sales Representative into his/her respective Worksheet? I can use the help with this. Attached is a spreadsheet that can give you idea of what I'm trying to do.

    TriedVLookup.xlsx
    Last edited by tht9015; 11-13-2013 at 02:08 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Tried VLookup but think I need VBA/Macro Code

    Using the existing table. Put your cursor in the header row and click on the ribbon tab Data. Click on the Icon for Filter.

    In the column for the salesman, select the first salesman and then ok. It will filter for that person. Copy and paste to the sales person sheet. Repeat for the next sales person, etc.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-30-2013
    Location
    Jackson, NJ
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Tried VLookup but think I need VBA/Macro Code

    Sorry, this won't help me... I have hundreds of line of data that is done monthly, sometimes weekly and needed something that could work automatic. I've used "Filter" in the past but it takes tooooooo long. Someone told me that a VBA or Macro would solve my problem and although I've been toying with it I can't seem to get itto do what I want.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Tried VLookup but think I need VBA/Macro Code

    I would suggest to use PivotTable

    Please see attached file
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Tried VLookup but think I need VBA/Macro Code

    Administrative Note:
    • We would love to help you with your query, but first, before we can proceed…
    • Please see Forum Rule #1 about proper thread title
    • Please PM me when complete (Also, include a link to your thread - copy from the adress bar) and this post will be removed which will reset the replies to zero…

      Your thread title should describe your problem, not what you think might be the sollution

      To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    10-30-2013
    Location
    Jackson, NJ
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Tried VLookup but think I need VBA/Macro Code

    Sorry. I was trying to give clear picture of what I needed help in and did not want to have responses of things I've may have already tried.

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Tried VLookup but think I need VBA/Macro Code

    a VBA solution.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-30-2013
    Location
    Jackson, NJ
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Tried VLookup but think I need VBA/Macro Code

    Can you tell me what formula you're using in this spreadsheet. I've tried looking through but I'm unclear how you were able to move the data from one spreadsheet to the other.

  9. #9
    Registered User
    Join Date
    10-30-2013
    Location
    Jackson, NJ
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need Help pulling information from one sheet to another sheet

    I'm using this formula in my spreadsheet but for some reason it's not pulling the information. I think it has something to do with the brackets I'm using,

    I have multiple sales reps and I'm trying to separate their data into their own specific spreadsheet off of a master that has all of them in them. Once they are separated the sales rep can monitor only his/her spreadsheet.

    I think this formula should work but for some reason it won't pull the information from the other spreadsheet and all it does is displays the formula

    {=+INDEX(INDEX('Web Inventory Log'!$A$4:I161,MATCH($A$1,INDEX(('Web Inventory Log'!E4:E162),0),0),0),SMALL(IF('Web Inventory Log'!$E$4:$E$162=$A$1,COLUMN('Web Inventory Log'!$A$4:$I$4)-COLUMN('Web Inventory Log'!$A$4)+1),COLUMNS($A$2:$A$2)))}

  10. #10
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Tried VLookup but think I need VBA/Macro Code

    Sorry FDibbins!
    I did not see you post.

  11. #11
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Tried VLookup but think I need VBA/Macro Code

    Did you try post no 5? It is a fast code.

  12. #12
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Tried VLookup but think I need VBA/Macro Code

    If you have tried similar code to mine, I would like to see it and then should be able to see your picture. I am not a mind reader.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Tried VLookup but think I need VBA/Macro Code

    Your post does not comply with Rule 7 of our Forum RULES. Please do not ignore requests by Administrators, Moderators and senior forum members regarding forum rules.

    If you are unclear about the request or instruction then send a private message to them asking for clarification. Do not post a reply in a thread where a moderator has requested an action that has not yet been complied with e.g Title change or Code tags...etc

+ 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] Row delete macro is effecting record count formula and vlookup code. #REF!
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 14
    Last Post: 10-20-2013, 10:13 PM
  2. Row delete macro is effecting record count formula and vlookup code.
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 10-13-2013, 06:23 PM
  3. [SOLVED] Unlimited Range for VlookUp in Macro Code
    By fmfernandez11 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-16-2013, 06:09 AM
  4. Optimizing the Vlookup code in VB. Repitive code with different referencing range.
    By raknahs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2010, 05:03 PM
  5. VLOOKUP macro/VBA Code
    By dwingfield in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-16-2009, 11:45 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