Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak Dosya Yükleme tamamen ücretsizdir.
ekledim.Merhaba
Resim yerine örnek dosyanızı ekler misiniz?
Tam olarak istenen nedir?hocam koşullu biçimlendirmede yan yana olunca mı boyuyor sadece ?
bir kod buldum aslında ama sadece G sütununu boyuyor F sütununda karşısına gelenleri boyamıyor onda değişiklik yapabilir misiniz ?
Sub ExtendOffice_CompareTwoRanges()
'UpdatebyKutools20201019
Dim xRg, xRgC1, xRgC2, xRgF1, xRgF2 As Range
SRg:
Set xRgC1 = Application.InputBox("Select the column you want compare according to", "Kutools for Excel", , , , , , 8)
If xRgC1 Is Nothing Then Exit Sub
If xRgC1.Columns.Count <> 1 Then
MsgBox "Please select a single column"
GoTo SRg
End If
SsRg:
Set xRgC2 = Application.InputBox("Select the column you want to highlight duplicates in:", "Kutools for Excel", , , , , , 8)
If xRgC2 Is Nothing Then Exit Sub
If xRgC2.Columns.Count <> 1 Then
MsgBox "Please select a single column"
GoTo SsRg
End If
For Each xRgF1 In xRgC1
For Each xRgF2 In xRgC2
If xRgF1.Value = xRgF2.Value Then
xRgF2.Interior.ColorIndex = 38 '(you can change the color index as you need)
End If
Next
Next
End Sub
bu şekilde örnek resim ekledimOlması gerekeni manüel olarak yapar mısınız?
Soru net değil.
Sayın @fatiherol resim yerine örnek belge yüklerseniz daha sağlıklı sonuçlar alınabilir.bu şekilde örnek resim ekledim
Örnek dosya ektedir farklı hücrelerde olsa dahi eşleşen hücreler aynı renge boyansın tam olarak bunu istiyorum.Sayın @fatiherol resim yerine örnek belge yüklerseniz daha sağlıklı sonuçlar alınabilir.