Countif and hidden rows.
Try this then.
First add this UDF
Function IsVisible(ByVal Target As Range)
Dim oRow As Range
Dim i As Long
Dim ary()
ReDim ary(1 To 1, 1 To Target.Rows.Count)
i = 0
For Each oRow In Target.Rows
i = i + 1
ary(1, i) = Not oRow.EntireRow.Hidden
Next oRow
IsVisible = ary
End Function
Then use this formula
=SUM(TRANSPOSE(IsVisible(F14:F26))*(F14:F26<"NA") )
--
HTH
RP
(remove nothere from the email address if mailing direct)
"andyw" wrote in message
oups.com...
No its not a filtered list, just a standard hidden row
|