+ Reply to Thread
Results 1 to 8 of 8

Selecting data from one worksheet to appear on a second worksheet

  1. #1
    Registered User
    Join Date
    06-02-2016
    Location
    Leicester
    MS-Off Ver
    Office 97
    Posts
    3

    Selecting data from one worksheet to appear on a second worksheet

    I have a membership list with all members details on one worksheet (sheet 1). I need to produce a second worksheet showing only those details members have agreed to share with others (sheet 2). I am not a regular user of Excel but am familiar with filters.
    Attached Files Attached Files

  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
    79,365

    Re: Selecting data from one worksheet to appear on a second worksheet

    I think my crystal ball must be in need of polishing ...

    How does one know which details they have agreed to share, please?
    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
    06-02-2016
    Location
    Leicester
    MS-Off Ver
    Office 97
    Posts
    3

    Re: Selecting data from one worksheet to appear on a second worksheet

    Sorry. Please see new attachment with codes.
    Attached Files Attached Files

  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
    79,365

    Re: Selecting data from one worksheet to appear on a second worksheet

    Do I take it that full name and town will come through regardless?

  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
    79,365

    Re: Selecting data from one worksheet to appear on a second worksheet

    Please find attached a solution, which I shall explain in my next post.
    Attached Files Attached Files

  6. #6
    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
    79,365

    Re: Selecting data from one worksheet to appear on a second worksheet

    Firstly, change the data lookup table to this:

    Code Detail
    Y1 V+L+M+E
    Y2 V+L
    Y3 V+M
    Y4 V+E
    Y5 V+L+E
    Y6 V+L+M
    Y7 V+M+E

    Formulae on the summary sheet as follows:

    In A2: =Sheet1!A2
    In B2: =Sheet1!B2
    In C2: =Sheet1!C2
    In D2: =IFERROR(IF(FIND("V",VLOOKUP(Sheet1!$K2,'Data codes'!$E$3:$F$9,2))<>0,Sheet1!F2,""),"")
    In E2: =IFERROR(IF(FIND("L",VLOOKUP(Sheet1!$K2,'Data codes'!$E$3:$F$9,2))<>0,Sheet1!H2,""),"")
    In F2: =IFERROR(IF(FIND("M",VLOOKUP(Sheet1!$K2,'Data codes'!$E$3:$F$9,2))<>0,Sheet1!I2,""),"")
    In G2: =IFERROR(IF(FIND("E",VLOOKUP(Sheet1!$K2,'Data codes'!$E$3:$F$9,2))<>0,Sheet1!J2,""),"")

    The formulae use the code in the Class column on sheet 1 to determine which fields to pull through. The formulae can be drag copied down to populate the list.

  7. #7
    Registered User
    Join Date
    06-02-2016
    Location
    Leicester
    MS-Off Ver
    Office 97
    Posts
    3

    Re: Selecting data from one worksheet to appear on a second worksheet

    Thank you so much for the solution and for giving up your time. It is much appreciated.


  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
    79,365

    Re: Selecting data from one worksheet to appear on a second worksheet

    You are most welcome. I hope you were able to follow the formulae.

    By the way, I'm an East Midlander by birth - come from Long Eaton. You may know it!

+ 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. Selecting Column, Copying Data into a new worksheet Macro
    By adamkingf5371 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2013, 06:26 AM
  2. [SOLVED] Delete button on another worksheet, WITHOUT selecting worksheet?
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2012, 12:40 PM
  3. [SOLVED] Selecting specific data on a worksheet and moving it to a table on another worksheet
    By wesman200098 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2012, 05:45 AM
  4. [SOLVED] Selecting data on worksheet without using sheetnames?
    By WRL in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-04-2012, 07:48 AM
  5. Selecting Shapes With Variable Based On Worksheet Data
    By svAndiamo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-15-2011, 03:49 PM
  6. Selecting Worksheet then running macro based on selected worksheet
    By CircuitAkita in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2011, 01:00 AM
  7. Replies: 9
    Last Post: 09-07-2009, 03:07 PM
  8. selecting cell range in other worksheet without switching to worksheet
    By suzetter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2005, 03:55 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