+ Reply to Thread
Results 1 to 8 of 8

Two way mirror sheet by criterion

  1. #1
    Registered User
    Join Date
    04-12-2018
    Location
    Norway
    MS-Off Ver
    Excel Mac
    Posts
    4

    Two way mirror sheet by criterion

    Hi all,

    I have been researching for days but I can not find a solution for my problem. I do not have any experience with programming in Excel.

    I have a "Main sheet" with lists of contacts, fields are; name, number, e-mail, notes, and importance.

    What I want to achieve is rows that are marked with importance "1" is mirrored to another sheet named "Important". This could be achieved with macro and copy everything based on a criterion,
    but I want to be able to change the notes in the "Important sheet" and the changes will also happen in the main sheet. Also if I wanted to change the name, number or other fields.

    So what I basically want is to two-way mirror the whole main sheet to another sheet and filter it by a criterion.

    Hope someone could help me with this.

    Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,747

    Re: Two way mirror sheet by criterion

    Please attach your file. If it contains private data, either replace it with fake data, or remove the data but leave all the headings so we can see how your data is organized.

    The paper clip icon does not work for attachments. Instead, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-12-2018
    Location
    Norway
    MS-Off Ver
    Excel Mac
    Posts
    4

    Re: Two way mirror sheet by criterion

    Hi,

    Thanks for the reply. I have attached the file.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Two way mirror sheet by criterion

    Hi @Andrrs

    The code I've prepared, "refreshes" the data in both status sheets, when you press on button.
    then, every time you change data in any valid cell in status sheets, automatically changes the value in the corresponding cell in Contacts sheet.
    Check the attached book
    Attached Files Attached Files
    Barriers are there for those who don't want to dream

  5. #5
    Registered User
    Join Date
    04-12-2018
    Location
    Norway
    MS-Off Ver
    Excel Mac
    Posts
    4

    Re: Two way mirror sheet by criterion

    Thanks! I have been struggling with this for so long.

    I had to assign the "Refresh" macro to the button, but everything else worked like a charm! How hard is it for me to add more Status (3,4) and more Sheets with same functionality? Can I reuse your code easily?

    Again, thanks!

  6. #6
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Two way mirror sheet by criterion

    Absolutely simple.

    first you need to define some variables,
    Please Login or Register  to view this content.
    then you need to add the same number of counters,
    Please Login or Register  to view this content.
    then you need to get the last row variables for each sheet, and clean the respective areas
    Please Login or Register  to view this content.
    Then inside the loop For i = 7......Next i, put as many Elseif's as needed
    Please Login or Register  to view this content.
    And that's it
    remember to change the " n " with the appropriate number in each case
    you can come back if you find any problem.
    good luck
    Last edited by vichopalacios; 04-18-2018 at 04:02 PM.

  7. #7
    Registered User
    Join Date
    04-12-2018
    Location
    Norway
    MS-Off Ver
    Excel Mac
    Posts
    4

    Re: Two way mirror sheet by criterion

    Hi, I got it to work :-)

    One thing I notice is that if a field (for example telefon) is blank when added to status 1, it is not possible to add info to that cell when you are in Status sheet 1.

    There has to be something in that cell for it to mirror both ways.

    Is this something that can be fixed?

    Everything else works fine, I really appreciate the help.

  8. #8
    Valued Forum Contributor
    Join Date
    08-07-2014
    Location
    Quito, Ecuador
    MS-Off Ver
    Excel 2016 & 365, Windows 10
    Posts
    511

    Re: Two way mirror sheet by criterion

    OK, You are wright, there was a bug.
    I've made a few changes in the worksheet's codes, check them,
    I think now it's solved
    Attached Files Attached Files

+ 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] Mirror sheet returning 0
    By gumbi17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-05-2015, 01:47 PM
  2. how to have a mirror image of another sheet?
    By finley in forum Excel General
    Replies: 4
    Last Post: 12-30-2014, 11:31 AM
  3. Find value based on item number (first criterion) and date (second criterion)
    By ivan.stajin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2014, 10:47 AM
  4. How do i mirror columns from one sheet onto others?
    By mowmow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-13-2013, 11:52 PM
  5. Replies: 4
    Last Post: 04-25-2013, 06:18 PM
  6. Mirror rows within same sheet
    By geamer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-13-2013, 01:47 PM
  7. Mirror Specific Range from one sheet to another sheet
    By joy_ in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-15-2012, 06:49 AM

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