+ Reply to Thread
Results 1 to 4 of 4

Mirror only one column across sheets

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    Mirror only one column across sheets

    My requirement is as follows

    I have Sheet1 in which Col. A are "Room names". I want Col. A as “Room names” in Sheet2. The other columns B, C, D in Sheet1 and Sheet2 are unique as per my requirement. Any addition or deletion of row / addition of any text to Col. A in Sheet1 should be reflected in Sheet2.

    When new row is included in between any row of Sheet1, it should insert a new row between the corresponding rows in Sheet2 also (i.e. the data in Col, B, C, D Sheet2 should also shift by one row). The requirement is illustrated in the diagram.

    I found a problem similar to mine
    https://productforums.google.com/for...cs/8kHkkZYd4vg and I even tried the A1: =SORT(Sheet1!A:A, 1, TRUE), but to no avail.

    I modified the code found here https://stackoverflow.com/questions/...-with-automati

    Bu, the problem I am facing is that, it mirrors the entire table in Sheet1 to Sheet2. As explained in the preceeding paragraph, I require only Col. A to be mirrored to Sheet2 with the condition that any addition or deletion of row in Sheet1 to be reflected in Sheet2, with corresponding offset of rows in Sheet2 also.

    Please Login or Register  to view this content.
    Please help modify this code .
    Last edited by melvinkoshy; 03-17-2018 at 01:14 AM.

  2. #2
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    Re: Mirror only one column across sheets

    Image and excel workbook attached

    (NOTE:

    In the figure, Row 4, 5, 7 have been added later in Sheet1. This additions of row should also be inserted in Sheet2 with the data below the added rows shifted downwards. If any data is entered in A4 of Sheet1 now, it should also be reflected in Sheet2, but other columns should be independent as the other fields in Sheet1 and Sheet2 are unique)
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by melvinkoshy; 03-17-2018 at 01:47 AM.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Mirror only one column across sheets

    You can do without vba.
    select column "A" in sheet1 > copy "A" column (As per your data record) > click on "Camera" Tab > & paste into sheet2.
    If Camera tab not showing in toolbar, then click on office button > click on "excel option" > click on "Customize" > select "All command" > select "Camera" > click on "Add" > click on"ok"


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Registered User
    Join Date
    04-05-2016
    Location
    India
    MS-Off Ver
    2013
    Posts
    78

    Re: Mirror only one column across sheets

    I tried this and felt not a satisfactory solution. It is just as taking a screenshot of column A. When I insert new row in Col. A of Sheet1, the corresponding rows are also not shifted in Sheet2. Could you please help modify the code?

    Note: Only Col. A in both sheets are required to be same. Other cols. are unique as shown in the figure


    I came across a problem same as that of mine here

    https://superuser.com/questions/6301...-in-excel-2010

    The array formula used here achieves the objective of mirroring Col. A to Sheet2, but does not address the shifting of corresponding rows in Sheet2 when new row is added to Sheet1.
    Last edited by melvinkoshy; 03-17-2018 at 01:19 AM.

+ 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. Mirror sheets with different views
    By ozcaro in forum Excel General
    Replies: 6
    Last Post: 02-13-2018, 03:11 AM
  2. [SOLVED] Data Mirror between two Sheets
    By mcanfield in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 07-07-2015, 09:50 AM
  3. [SOLVED] Mirror cells on four sheets and reusable
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 03-28-2015, 03:09 PM
  4. [SOLVED] Mirror range of cells in different sheets?
    By fishermanryan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2014, 10:56 AM
  5. Mirror Data between Sheets
    By brittarees in forum Excel General
    Replies: 3
    Last Post: 11-04-2013, 05:23 PM
  6. Mirror row deleting on multiple sheets.
    By MarVil85 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2012, 02:59 PM
  7. Mirror multiple cells in different sheets
    By abarney in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2012, 03:13 PM

Tags for this Thread

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