Hello kmfdm515,
To test for a string value the UDF would be...
Sincerely,![]()
Public Function GetTextCnt(RefCell_Addx As String, Text_Value As String) As Long Dim N As Long Dim Wks As Worksheet For Each Wks In Worksheets If Wks.Range(RefCell_Addx).Value = Text_Value Then N = N + 1 Next Wks GetTextCnt = N End Function
Leith Ross
Bookmarks