Question : summary match

I need to assign a value of one for everytime line 26 matches the corresponding lines above it.  Ultimately I need to be able to score the total number correct for the entities in column a.  Line 26 represents perfection  

Answer : summary match

Then I guess this is what your looking for ?
This would simply count the number of matches for every line and put the total in col A
Try it and let me know.
rgds.gowflow
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
Sub LookupIdenticalRow()
Dim Ro As Long
Dim Cl As Long
Dim OccCount As Long
Dim UnMatched As Boolean
Dim ws As Worksheet

Set ws = ActiveSheet

'Loop thru all Rows from Row 25 and up
For Ro = 25 To 1 Step -1
OccCount = 0

    For Cl = 2 To ws.Columns.Count
        If ws.Cells(Ro, Cl) <> ws.Cells(26, Cl) Then
        OccCount = OccCount + 1
        End If
    Next Cl

ws.Cells(Ro, 1) = ws.Cells(Ro, 1) & " Found " & OccCount & " Matches"


Next Ro

MsgBox ("Done")
End Sub
Random Solutions  
 
programming4us programming4us