Results 1 to 2 of 2

Create a row (or column) of non-duplicate values from a column containing duplicate values

Threaded View

777volkov777 Create a row (or column) of... 05-17-2013, 11:06 AM
AB33 Re: Create a row (or column)... 05-17-2013, 11:11 AM
  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    Russia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Create a row (or column) of non-duplicate values from a column containing duplicate values

    I have a column with different dates which can repeat, how can I create a row (or another column it's not a problem) of unique (not repeating) values. Some kind of pivot table function.
    PivotTable is not a solution (Maybe I will have to use it in macros but I want to avoid it, as I have reasons for it depending on the task). So, is there any other way to do this regrouping in VBA?
    Here a solution for a predetermined number of values but for me it doesn't matter
    Dim inputrow As Integer
    Dim i As Double
    For i = 11 To 12
    For inputrow = 2 To 19
    If ActiveSheet.Cells(inputrow, 4) <> ActiveSheet.Cells(3, i - 1) Then
    ActiveSheet.Cells(3, i) = ActiveSheet.Cells(inputrow, 4)
    Exit For
    End If
    Next inputrow
    Next i
    Last edited by 777volkov777; 05-18-2013 at 05:13 AM.

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