Quantcast
Channel: Darren's Tech Blog » Excel Tips
Viewing all articles
Browse latest Browse all 5

Excel Function to Sum if Bold

$
0
0
​Usage in excel : =SumIfBold(HU3:HU31)
Value (Range)
Function SumIfBold(MyRange As Range) As Double
Application.Volatile (True)
Dim cell As Range
For Each cell In MyRange
If cell.Font.Bold = True Then
SumIfBold = SumIfBold + cell
End If
Next cell
End Function

Published: 3/4/2013 8:11 PM

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images