+ Reply to Thread
Results 1 to 8 of 8

Data Segregation Using Particular Column & auto update

  1. #1
    Registered User
    Join Date
    04-10-2017
    Location
    Chennai
    MS-Off Ver
    Office 16
    Posts
    26

    Data Segregation Using Particular Column & auto update

    Hi Mates,

    Greetings!!!

    Coming to the forum after a long gap with a new query... I've a excel file with multiple data's & looking for a solution that shall create a new sheet by filtering data's from master sheet using a value in particular column. Also when a change is made in any cells of the Master sheet, the changes gets updated in the corresponding sheet accordingly.

    In the attached file, i have a Master sheet that has multiple data's, from that i have created the sub sheets by manually filtering contents using data in "Column G", so every time i update any value in the master sheet, the changes shall be automatically updated in sub-sheets.
    Attached Files Attached Files
    Last edited by Rajeshkumar2910; 07-04-2017 at 11:04 PM. Reason: Minor corrections and better for understanding

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Data Segregation Using Particular Column & auto update

    In sheet code for sheet "Master sheet" put


    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    04-10-2017
    Location
    Chennai
    MS-Off Ver
    Office 16
    Posts
    26

    Re: Data Segregation Using Particular Column & auto update

    Hi,

    Thanks for your time... I tried using the above code, but could not find any update.

    I would like the code to be like, it shall create new sheets based on the values in the G column( master sheet) in the attached file automatically & whenever a value is updated in any cells of master sheet the same shall get updated in the respective sub sheets.

    Regards,
    Rajesh

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Data Segregation Using Particular Column & auto update

    "shall create new sheets " ... Ah! it was not prepared like that ... sheet must exist.
    Update to come

  5. #5
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Data Segregation Using Particular Column & auto update

    In sheet code for sheet "Master sheet" put

    Please Login or Register  to view this content.
    In a module put




    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-10-2017
    Location
    Chennai
    MS-Off Ver
    Office 16
    Posts
    26

    Re: Data Segregation Using Particular Column & auto update

    Hi Patrick,

    Thanks for the code. Got almost to the one what i'm looking for.

    So from the code i understand that, when the values changed in "column G", the changes gets updated in the corresponding sheet & any new value it creates a new sheet.

    If we add n number of columns and rows, and need to take reference from nth column, where we should modify in the code, also i would like to have if any changes made in the Master sheet it shall reflect in the respective sub sheets accordingly with out manually updating it.

    Can i use the same code in for the attached file to create sheets based on Z column and any changes made in any cell shall reflect in the respective sheets.

    Thanks again, for spending your valuable time.

    Cheers,

    Rajesh
    Attached Files Attached Files
    Last edited by Rajeshkumar2910; 07-07-2017 at 11:17 AM.

  7. #7
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Data Segregation Using Particular Column & auto update

    "If we add n number of columns and rows, and need to take reference from nth column, where we should modify in the code,"*
    See next code and adjust
    Please Login or Register  to view this content.
    "if any changes made in the Master sheet it shall reflect in the respective sub sheets "
    It means, when there is a change in "Master Sheet" you want to search the old record in the corresponding sheet (when exists) and update the information ...?

    "Can i use the same code in for the attached file to create sheets based on Z column and any changes made in any cell shall reflect in the respective sheets"
    Yes certainly

    Please confirm previous questions and then we can update the code

  8. #8
    Registered User
    Join Date
    04-10-2017
    Location
    Chennai
    MS-Off Ver
    Office 16
    Posts
    26

    Re: Data Segregation Using Particular Column & auto update

    Hi Patrick,

    "if any changes made in the Master sheet it shall reflect in the respective sub sheets "
    It means, when there is a change in "Master Sheet" you want to search the old record in the corresponding sheet (when exists) and update the information ...?

    Yes, the code should check the change and update the information., and as per existing code if any new value is added in the G column it shall create new sheet.

    Let me know if any further details are required from me & thanks again.

    Have a good day!!!

    Cheers,

    Rajesh.

+ 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] Segregation of data
    By Excel_Pa in forum Excel General
    Replies: 6
    Last Post: 10-26-2015, 05:07 AM
  2. [SOLVED] segregation into different column by vba as well as formula
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2015, 10:50 AM
  3. Replies: 4
    Last Post: 03-06-2015, 03:40 AM
  4. Data Segregation
    By Tomboy in forum Excel General
    Replies: 1
    Last Post: 06-05-2012, 11:12 AM
  5. How to keep 1 column of manual input data associated with auto-update columns
    By excel.use in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2012, 04:04 PM
  6. Data segregation
    By arun88aries in forum Excel General
    Replies: 1
    Last Post: 03-05-2011, 03:48 AM
  7. how to update data on sheet1 and have it auto update on sheet2
    By Tommy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-11-2005, 06:43 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