+ Reply to Thread
Results 1 to 4 of 4

show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???

  1. #1
    Registered User
    Join Date
    11-04-2011
    Location
    Alberta
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    22

    show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???

    so I have a list of names in sheet 1 in column a, and when I put a 1 in column b I want excel to show the names with a 1 beside them on sheet 2 in column a.

    I'm not sure how to do this.

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???

    If sheet 1 data starts in row 1 insert a new line above this (you can put headers for each column if you want).
    In C2 type =IF(B2=1,MAX($C$1:C1)+1,"") and drag down as far as required. This will give each row you enter a 1 in a number 1,2,3,4 etc.

    Now on sheet 2 in A1 type 1. In B1 type =IFERROR(INDEX(Sheet1!B:B,MATCH(A1,Sheet1!C:C,1)),"")
    In A2 type =A1+1 and then drag B1 down to B2. Select A2 and B2 then drag both down to populate the sheet with active values from sheet1. Note when Col B starts showing blank values you have got all your active values listed.
    Say thanks, click *

  3. #3
    Registered User
    Join Date
    11-04-2011
    Location
    Alberta
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    22

    Re: show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???

    got it to work, thanks

    i did change 1 thing

    Please Login or Register  to view this content.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: show a list of names on from sheet 1 in sheet 2 when marked active in sheet 1...???

    Try this...

    With your data in the range Sheet1 A2:B10...

    This array formula** entered on Sheet2 cell A2:

    =IFERROR(INDEX(Sheet1!A:A,SMALL(IF(Sheet1!B$2:B$10=1,ROW(Sheet1!B$2:B$10)),ROWS(A$2:A2))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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