Results 1 to 11 of 11

Find missing data in columns ignoring blanks, separated by semicolon

Threaded View

  1. #4
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Find missing data in columns ignoring blanks, separated by semicolon

    Hi..

    Try this.. no formulas needed.. just paste your value sin column A and B..

    Private Sub CommandButton1_Click()
       Dim x, j As Long, jj As Long
       With Range("A1").CurrentRegion
       x = .Offset(1).Resize(.Rows.Count - 1)
       End With
        With CreateObject("scripting.dictionary")
            For j = 1 To UBound(x)
                x0 = .Item(x(j, 2))
            Next
            For jj = 1 To UBound(x)
                If Not .Exists(x(jj, 1)) Then
                    If Cells(2, 3).Value = "" Then
                        Cells(2, 3).Value = x(jj, 1)
                    Else: Cells(2, 3).Value = Cells(2, 3).Value & ";" & x(jj, 1)
                    End If
                End If
            Next jj
        End With
    End Sub
    Try the attached.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import data from password protected php website (semicolon separated data)
    By JacobKM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2014, 09:10 AM
  2. Convert Excel data Into A Semicolon Separated Text List
    By gedraxx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2014, 01:08 PM
  3. split multiple semicolon separated values into new rows for multiple columns
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-05-2014, 05:27 PM
  4. [SOLVED] Compare two ranges of data and give unique values in two different columns ignoring blanks
    By rampulaparthi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2013, 04:17 PM
  5. Excel 2007 : Find next 'less than' value, ignoring blanks
    By samtoucan in forum Excel General
    Replies: 4
    Last Post: 12-12-2009, 07:43 AM

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