DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Say()
For i = 1 To [a65536].End(3).Row
If Cells(i, 1).Interior.ColorIndex <> 3 And Cells(i, 1) <> "" Then
a = a + 1
End If
Next
[c1] = a
End Sub
Sub topla()
For i = 1 To [a65536].End(3).Row
If Cells(i, 1).Interior.ColorIndex = 3 And Cells(i, 1) <> "" Then
a = a + 1
End If
Next
[c1] = a
End Sub
Sub topla()
[c1] = ""
For i = 1 To [a65536].End(3).Row
If Cells(i, 1).Interior.ColorIndex <> 3 And Cells(i, 1) <> "" Then
[c1] = Cells(i, 1) + [c1]
End If
Next
End Sub
Sub Say()
For i = 1 To [a65536].End(3).Row
If Cells(i, 1).Interior.ColorIndex <> 3 And Cells(i, 1) <> "" Then
a = a + 1
End If
Next
[c1] = a
End Sub
For i = 2 To 19
a = 0
For k = 2 To 25
If Cells(i, k).Interior.ColorIndex <> 3 And Cells(i, k) <> "" Then
a = a + 1
End If
Cells(i, 26) = IIf(a <> 0, a, "")
Next
Next
End Sub
=ÖZEL_SAY(B2:Y2;[B][COLOR=red]3[/COLOR][/B])
Option Explicit
Function ÖZEL_SAY(Aralık As Range, Optional Renk As Integer)
Dim Hücre As Range, Say As Long
Application.Volatile
If Renk = 0 Then Renk = xlNone
For Each Hücre In Aralık
If Hücre.Interior.ColorIndex <> Renk And Not IsEmpty(Hücre) Then Say = Say + 1
Next
ÖZEL_SAY = Say
End Function
Asıl dosyada çok fazla sayfa ve satır var.