+ Reply to Thread
Results 1 to 9 of 9

help with this formula!

Hybrid View

  1. #1
    Registered User
    Join Date
    01-03-2007
    Location
    England
    MS-Off Ver
    MS Office 2003 & 2007
    Posts
    17

    Question help with this formula!

    I have a spreadsheet that I am creating. This is an example:

    A1(cell)

    xyz
    abc
    def
    def
    xyz
    abc
    wer
    xyz
    wer

    I would like to make a column that has each part listed once. Example

    xyz
    abc
    def
    wer


    thanks in advance

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    This link should help

    http://www.contextures.com/xladvfilter01.html#FilterUR

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-03-2007
    Location
    England
    MS-Off Ver
    MS Office 2003 & 2007
    Posts
    17

    Question

    I, is another way to do that?
    it dont work for me because i need to fill again the colun A1, and the sort dont work after that, i have to do the sort again.

    thanks

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try ths formula. It's an array so enter with Ctrl + Shift + Enter

    =IF(ISERROR(INDEX($A$1:$A$10,SMALL(IF(ROW($A$1:$A$10)=MATCH($A$1:$A$10,$A$1:$A$10,0),ROW($A$1:$A$10)),ROW()))),"",(INDEX($A$1:$A$10,SMALL(IF(ROW($A$1:$A$10)=MATCH($A$1:$A$10,$A$1:$A$10,0),ROW($A$1:$A$10)),ROW()))))

    VBA Noob

  5. #5
    Registered User
    Join Date
    01-03-2007
    Location
    England
    MS-Off Ver
    MS Office 2003 & 2007
    Posts
    17

    Question

    Hi,
    i try , but the result is a blank cell.
    Am I doing something wrong?

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Exclamation

    Try this.

    Range in formula needs to be the same as range with values

    VBA Noob
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by se7en7a
    I have a spreadsheet that I am creating. This is an example:

    A1(cell)

    xyz
    abc
    def
    def
    xyz
    abc
    wer
    xyz
    wer

    I would like to make a column that has each part listed once. Example

    xyz
    abc
    def
    wer


    thanks in advance
    Hi
    look the file attached here for answer to your problem.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-03-2007
    Location
    England
    MS-Off Ver
    MS Office 2003 & 2007
    Posts
    17

    Thumbs up

    Thanks a lot, it's working now.

  9. #9
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    VBA Noob

+ 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