+ Reply to Thread
Results 1 to 9 of 9

How to auto extract data by Person name and auto generate save in individual file

  1. #1
    Registered User
    Join Date
    05-27-2020
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    11

    How to auto extract data by Person name and auto generate save in individual file

    Hi excel experts!
    I attached a file example of data. i would like it to be automated extract by Person in B Column.
    Example all data belongs to amy to be extract and save in a new file for amy. Is that possible? The new file for amy will be the same format file.
    Please help me!
    TIA
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: How to auto extract data by Person name and auto generate save in individual file

    for some reason I remember your name [TIA]. maybe from another board on the internet? I'm not an expert, but....

    to throw data to a new file, you need to use the workbook object and the open method associated with the application object. these should get you started. try it:

    workbook object

    application object

    workbook.open method
    Last edited by vba_php; 08-19-2020 at 01:41 PM.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to auto extract data by Person name and auto generate save in individual file

    Sheet StepB

    A3 =[@Person]&Countif($B$3:$B3,$B3) and drag down.


    Sheet Amy

    A1 = Amy

    A3 =IFERROR(INDEX(StepB!Afdrukbereik,MATCH(Amy!$A$1&ROW()-2,StepB!$A$2:$A$23,0),COLUMN()+2),"") and drag across.



    If you want to analyse the data you can use a pivot table.

    For both solutions see the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    05-27-2020
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    11

    Re: How to auto extract data by Person name and auto generate save in individual file

    Hi! i posted one question looking for help before! thank you for your kind help! will look through.

  5. #5
    Registered User
    Join Date
    05-27-2020
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    11

    Re: How to auto extract data by Person name and auto generate save in individual file

    Hi! Thank you or your help with the file for my easy understand!!
    Really appreciate your help! i will try and fix into the file i want and see if it works!

  6. #6
    Registered User
    Join Date
    05-27-2020
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    11

    Re: How to auto extract data by Person name and auto generate save in individual file

    HI oeldere !
    I do not know why when i copy the formula to another file, the return value is always the file line in StepB
    Last edited by feidifeidi; 08-20-2020 at 02:43 AM.

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to auto extract data by Person name and auto generate save in individual file

    And what did you expect as return.

    Please add manualy the result as example in your excel file (other worksheet).

  8. #8
    Registered User
    Join Date
    05-27-2020
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    11

    Re: How to auto extract data by Person name and auto generate save in individual file

    Quote Originally Posted by oeldere View Post
    And what did you expect as return.

    Please add manualy the result as example in your excel file (other worksheet).
    Hi, I mean i change the name example from amy to Jane, but the result keep return the first row which belongs to amy.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to auto extract data by Person name and auto generate save in individual file

    You don't show your problem in an excel file.

    I added the sheet for Jane.

    See the attached file.


    Edit:

    If I change the name on sheet Amy (cell A1) from Amy to Jane you also get the data of Jane.

+ 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] Auto Extract Data from Multiple Workbooks into One Master File
    By morerockin in forum Excel General
    Replies: 9
    Last Post: 04-05-2018, 09:36 PM
  2. Replies: 0
    Last Post: 10-05-2015, 10:45 PM
  3. Auto invoice generate number with Save as PDF Macro with
    By Tai1001 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-12-2015, 10:23 AM
  4. Auto save Excel ODBC Connection to data source without opening file
    By newbie4 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2015, 01:37 PM
  5. Replies: 3
    Last Post: 09-26-2014, 01:07 AM
  6. Auto-save file after check that cells have data
    By Glio in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-09-2007, 02:21 AM
  7. Auto-save a new file with data from 3 cells
    By Glio in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-02-2007, 07:29 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