Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Nov 2001
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Count IF function (Excel 2000)

    I've got a list of names and a COUNTA formula that just counts the names in the list. I would like a formula that does not count a name if I use strikethrough to show that the person is not coming to the conference.

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Count IF function (Excel 2000)

    This User Defined Function will do what you asked:

    <pre>Public Function CountNS(oRng As Range) As Long
    Dim ocell As Range
    For Each ocell In oRng
    If Not ocell.Font.Strikethrough Then
    CountNS = CountNS + 1
    End If
    Next ocell
    End Function
    </pre>

    Legare Coleman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •