+ Reply to Thread
Results 1 to 5 of 5

Unique Record

  1. #1
    Forum Contributor
    Join Date
    07-22-2008
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2007
    Posts
    130

    Unique Record

    I've 2 column "A" & "B", in Col. A I've my data sorted ascending. In Col. B I want unique value from Col. A using formula or function (not by anything else). When I drag down the formula across the row below, it will show only distinct record). Is it possible? Pls guide.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Unique Record

    in b1 dragged down
    =IF(COUNTIF(A:A,A1)=1,A1,"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    07-22-2008
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2007
    Posts
    130

    Re: Unique Record

    Thanks for the reply. Actually I want unique value next by next (no blank row). Your solution brings blank row. Is there any way to get unique record in each row ignoring blank row using formula (not by sorting or anything else)? It will be look like below:

    Present Solution after I drag down the formula: (Suppose 3 unique value there in my data)

    Col. B

    Row 1 = unique value
    Row 2 = blank
    Row 3 = unique value
    Row 4 = blank
    Row 5 = unique value


    Required Solution:
    Col. B (no blank row there)

    Row 1 = unique value
    Row 2 = unique value
    Row 3 = unique value

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: Unique Record

    Add FILTER anywhere at first row and filter non-blank cells

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

+ 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