+ Reply to Thread
Results 1 to 12 of 12

displaying Values in an entire column in another worksheet

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    63

    displaying Values in an entire column in another worksheet

    Is there a formula/function in excel that can take all the cells in a column, lets say Column A, and paste/display it in another file without the spaces between the cells with values and without duplicates?


    Worksheet1
    Column A

    1 Name
    2
    3 Mike
    4 Rob
    5 Ryan
    6
    7 Mindy
    8 Paul
    9
    10 Rob
    11
    12 Mindy
    13 Chris


    Worksheet2
    Column A

    1 Name
    2 Mike
    3 Rob
    4 Ryan
    5 Mindy
    6 Paul
    7 Chris
    8
    9
    10
    11
    12
    13
    Last edited by wnstar21; 06-26-2008 at 09:42 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Select column A, go to Edit > Go to > Click Special Button > Click Constants > OK, right click copy

    Go to Sheet2 select A1, paste
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    Yes, this is standard Excel functionality.

    Check out the Data, Filter, Advanced Filter, Copy to another location, and with the 'Unique' option selected.

    HTH

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Thanks OC

    Most interesting, that's definitely a new one for me - and elegant too.


  5. #5
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    heres a formula way,

    try this,


    in worksheet 2 cell A1

    =IF(ISNUMBER(SMALL(IF(Sheet1!A$1:A$12<>"",ROW(Sheet1!A$1:A$12)),ROW())),INDEX(Sheet1!A$1:A$12,SMALL(IF(Sheet1!A$1:A$12<>"",ROW(Sheet1!A$1:A$12)),ROW()),1),"")

    this is an array so, CTRL+SHIFT and ENTER to put the curly brackets around {}

    cheers reg

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by Richard Buttrey
    Thanks OC

    Most interesting, that's definitely a new one for me - and elegant too.

    It only works on one column, it will not work on a range of columns

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by oldchippy
    It only works on one column, it will not work on a range of columns
    And doesn't filter unique values.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  8. #8
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    NBVC........you are absolutely right there! I didn't see that one

  9. #9
    Registered User
    Join Date
    06-19-2008
    Posts
    63
    Will that formula update itself? If I input values into column A in the original file, will the second worksheet with the formula automatically update when I open it to include newly added values?

  10. #10
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    hi wnstar21,

    the formula will automatically update itself as long as the cell range is large enough, when i do these formulas i'll always end the cell range at A1000 for example, that way you wont have to keep changing the formula.

    thanks reg

  11. #11
    Registered User
    Join Date
    06-19-2008
    Posts
    63
    I copied the formula and changed the sheet reference to $A$7:$A$3000, and then did the Ctrl+Shift+Entr thing to get the brackets, but the cell returned a blank. There are values where I referenced, so why isn't it working?

  12. #12
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    hi wnstar21,

    the formula starts reading the rows at cell A1, so the formula is reading the blank cell a1 to a6, if you place a "1" in cells a1 to a6 it will start at cell A7

    if not let me know

    thanks reg

+ 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