+ Reply to Thread
Results 1 to 4 of 4

Creating a unique list of values from column of data across multiple sheets, no blanks

  1. #1
    Registered User
    Join Date
    07-07-2014
    Location
    Hanover, New Hampshire
    MS-Off Ver
    Mac 2011
    Posts
    8

    Creating a unique list of values from column of data across multiple sheets, no blanks

    I have 6 worksheets in my file.
    In sheets 1-5, column A2:A26 list people's names. Some people's names appears on more than one sheet. Not all cells are populated with a value.

    ex.
    SHEET1
    COLUMNA
    Bill
    Todd
    (blank)
    Steve
    (blank)
    Ed

    SHEET2
    Todd
    Bill
    Ed
    (Blank)
    Dave
    Bob

    SHEET3
    Ed
    Dave
    Bill
    (blank)
    Alfonso

    I want sheet 6 to list all non-blank values that have appeared in the previous sheets, but list them only once...
    So
    SHEET 6
    Bill
    Todd
    Steve
    Ed
    Dave
    Bob
    Alfonso

    My attempt was... =INDEX('Week1:Week5’!$A$2:$A$26,MATCH(0,COUNTIF($A$1:A1,’Week1:Week5’!$A$2:$A$26),0))
    where the sheets were Week1-Week5 and the values on each sheet was A2:A26. But I think there's an issue with Excel being able to 3D reference for these types of functions. Any other ideas?

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

    Re: Creating a unique list of values from column of data across multiple sheets, no blanks

    Quote Originally Posted by polyrhythm View Post
    Any other ideas?
    Probably not what you want to hear but...

    Put the data all on one sheet in a single column then you can use the type of formula you already tried.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    07-07-2014
    Location
    Hanover, New Hampshire
    MS-Off Ver
    Mac 2011
    Posts
    8

    Re: Creating a unique list of values from column of data across multiple sheets, no blanks

    It's not :P but I was dabbling with that. So if I went that route, what is the easiest way to create a single column of all the data, removing blanks, if possible?

    I did the clunky thing of directly copying A2:A26 from each of the 5 worksheets into 5 separate columns on sheet 6. Then copied each of those 5 columns on top of each other, so I had a sixth column that was relatively long, and mostly filled with blank spaces. It seems like there has to be a "neater" way to do this than that? I'm also not removing any blank cells with the formula I got. So I'd get 1 unique (blank) in the resulting array.

  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: Creating a unique list of values from column of data across multiple sheets, no blanks

    The easiest way would be to use a macro (VBA procedure).

    However, I'm not much of programmer so I can't help you with that.

    If there are "only" 5 sheets you could probably use a monster formula to get the data into a single column then use another formula in another column to extract the uniques. Not a good option!

+ 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. Replies: 9
    Last Post: 10-14-2013, 07:55 PM
  2. Replies: 3
    Last Post: 12-13-2011, 08:00 AM
  3. List all unique values from multiple sheets in specified column
    By whitelockben in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-24-2011, 01:20 PM
  4. Creating List of Unique Values from Data
    By Azam Ali in forum Excel General
    Replies: 4
    Last Post: 06-14-2011, 02:54 AM
  5. Replies: 3
    Last Post: 06-23-2010, 04:03 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