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 Moderator Last seen December 27, 2022 - Jun 28, 2012 at 10:20 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - Jun 28, 2012 at 10:20 AM
Related:
- Finding matches within groups of cells
- How would you change all cells containing the word pass to green - Excel Forum
- Conditional formatting if two cells match ✓ - Excel Forum
- We can’t give you access to this account or help with your request until we receive an accepted form of id that matches the information listed on the account. learn more about the types of id we accept in the help center: ✓ - Facebook Forum
- Formula for finding position in excel - Excel Forum
- Calculation of positions in excel ✓ - Excel Forum
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
552
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