Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Public Function SumNoStrike(rngSumRange As Range) As Single
Dim rngCell As Range If IsNumeric(rngCell.Value) Then If rngCell.Font.Strikethrough = False Then SumNoStrike = SumNoStrike + rngCell.Value End If End If Next rngCell End Function =SumNoStrike(range) Gord Dibben MS Excel MVP On Wed, 2 Jul 2008 16:18:00 -0700, AndyKC wrote: I have a column of figures and a separate cell that displays their sum. I'd like to be able to exclude from the summing process, the figures in that column that are struck-through. Can anyone suggest a way of doing this? Thanks Andy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why are my row numbers/column letters struck through? | Excel Discussion (Misc queries) | |||
summ aumont with interesection with two index.... | Excel Discussion (Misc queries) | |||
Rounding decimals in a summ | Excel Discussion (Misc queries) | |||
Changing positive figures to minus figures | Excel Worksheet Functions | |||
How can I use SUMIF and AND to test for two conditons before summ. | Excel Worksheet Functions |