Finding matches within groups of cells
Closed
Jack
-
Jun 27, 2012 at 01:25 PM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Contributor Last seen December 27, 2022 - Jun 28, 2012 at 10:20 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Contributor Last seen December 27, 2022 - Jun 28, 2012 at 10:20 AM
Related:
- Finding matches within groups of cells
- Based on the values in cells b77 b88 ✓ - Excel Forum
- Finding car by license plate - Guide
- Ps3 not finding update on usb - Guide
- Based on the values in cells b77 b81 c77 - Excel Forum
- Excel formula for color of cell - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Contributor
Last seen
December 27, 2022
555
Jun 28, 2012 at 10:20 AM
Jun 28, 2012 at 10:20 AM
Hi Jack,
You didn't specify how you would like to highlight matched values in the green area, so I chose to make them bold.
Best regards,
Trowa
You didn't specify how you would like to highlight matched values in the green area, so I chose to make them bold.
Sub HMV()
Dim RowI, ColI, lRow As Integer
RowI = 0
lRow = Range("A" & Rows.Count).End(xlUp).Row
Do
RowI = RowI + 1
For Each cell In Range(Cells(RowI, 1), Cells(RowI, 6))
ColI = 7
Do
ColI = ColI + 1
If cell.Value = Cells(RowI, ColI).Value Then cell.Font.Bold = True
Loop Until ColI = 15
Next cell
Loop Until RowI = lRow
End Sub
Best regards,
Trowa