+ Reply to Thread
Results 1 to 2 of 2

Count Text & Unique numbers in Text Box

  1. #1
    Registered User
    Join Date
    03-26-2008
    Posts
    8

    Count Text & Unique numbers in Text Box

    Hello,

    In my attached sheet there are two textboxes. In textbox1, I would like to see count of unique numbers visible numbers in column D, and in textbox2, i would like to see count of visible text "Yes" from column C. Can someone help? Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    In a general module in the workbook, enter the following code

    Please Login or Register  to view this content.
    Then
    C1: =mycountif(C3:C34,"Yes")
    D1: =mycountuniq(D3:D34)

    When you change your filters, these should give you the results you are chasing.

    If you then put in a sheet event (right click on the sheet tab, select view code)
    Please Login or Register  to view this content.
    then the results of the UDFs will be put into your textboxes.

    HTH

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1