Function SumItalics(InputRange As Range) As Double
Dim Total As Double
Dim Rng As Range
For Each Rng In InputRange.Cells
If IsNumeric(Rng.Value) = True Then
If Rng.Font.Italic = True Then
Total = Total + Rng.Value
End If
End If
Next Rng
End Function
You can call this from a cell with a formula like
=SumItalics(A1:A100)
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting LLC www.cpearson.com
(email on the web site)