+ Reply to Thread
Results 1 to 10 of 10

Display realtime filtering data from another worksheet

  1. #1
    Registered User
    Join Date
    11-25-2018
    Location
    Phnom Penh
    MS-Off Ver
    2016
    Posts
    4

    Display realtime filtering data from another worksheet

    I want to display all rows that has Gender column equal to `M` inside `sheet2`. The data is retrieved from `sheet1`. The filtered data also has to be real time, meaning whenever I make change in gender column in `sheet1`, `sheet2` data should also change accordingly. How could I achieve this?

    sheet 1
    sheet1.PNG

    sheet 2
    sheet2.PNG
    Attached Files Attached Files
    Last edited by AliGW; 01-01-2019 at 04:08 AM. Reason: Irrelevant section of thread title removed.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Microsoft Excel: display realtime filtering data from another worksheet

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-25-2018
    Location
    Phnom Penh
    MS-Off Ver
    2016
    Posts
    4

    Re: Microsoft Excel: display realtime filtering data from another worksheet

    I have attached the file along with the post already. Please help me out.
    Last edited by sokunthaneth; 01-01-2019 at 04:04 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Microsoft Excel: display realtime filtering data from another worksheet

    Thanks for adding the workbook - I hope it has a mock-up of what you want. I will have a look now.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Microsoft Excel: display realtime filtering data from another worksheet

    Mmm - it's far from clear to me what you are trying to achieve here. How is data in the second sheet going to be entered? Which aspect of it requires automation? At first glance, it seems that VLOOKUPs would do the job, but we need much more detail.

  6. #6
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Display realtime filtering data from another worksheet

    What I think is he needs to first sort the sheet1 data on the basis of C columns (Z to A) then

    Select A2:C2 on Sheet2 and press F2 to bring the range into edit mode

    put this formula in A2 on Sheet2 and press "Ctrl + Shift + Enter"
    =IF(Sheet1!C2="M",Sheet1!A2:C2,"")
    Then drag the formula down.

    See the attached
    Attached Files Attached Files
    Teach me Excel VBA

  7. #7
    Registered User
    Join Date
    11-25-2018
    Location
    Phnom Penh
    MS-Off Ver
    2016
    Posts
    4

    Re: Microsoft Excel: display realtime filtering data from another worksheet

    Please check this attached spreadsheet. I have just add the expected result into the `sheet2`. I want to show all row that has value `M` in Gender. And if I change some gender `M` to `F` in `sheet1`, it should eliminate the row from `sheet2`.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Display realtime filtering data from another worksheet

    I would do this with Power Query (Get & Transform on the Data ribbon).

    M Code:

    Please Login or Register  to view this content.
    You can set the refresh options to suit in the query properties.
    Attached Files Attached Files

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Display realtime filtering data from another worksheet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  10. #10
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: Display realtime filtering data from another worksheet

    Hi S,

    Or you could do it with a Pivot Table - please see attached.

    Regards

    peterrc
    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. Multiuser excel userform data can we store in access database on realtime with 4 or 5 user
    By sagar.rajula in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2013, 09:18 AM
  2. [VBA] Filtering Data from Excel worksheet
    By qiqinuinaifen128 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-14-2012, 12:04 PM
  3. Replies: 1
    Last Post: 12-18-2011, 12:32 PM
  4. How can I set Microsoft Excel to display the day by inputting the date?
    By alexbutterfield in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-21-2007, 12:37 PM
  5. [SOLVED] Microsoft Query editor opens but does not display in excel.
    By Fizzbear in forum Excel General
    Replies: 0
    Last Post: 02-23-2006, 04:50 PM
  6. [SOLVED] How do I display data in different worksheet in excel
    By Hedgelayer2 in forum Excel General
    Replies: 1
    Last Post: 02-12-2006, 11:40 PM
  7. Replies: 1
    Last Post: 05-12-2005, 08:06 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