+ Reply to Thread
Results 1 to 5 of 5

Counting Formula-What am I doing wrong?

  1. #1
    Registered User
    Join Date
    11-18-2006
    Posts
    6

    Counting Formula-What am I doing wrong?

    In column B I have a validation list with about 20 clients listed.

    In column J I have a validation list of Closed or Open.

    I want to create a list that tallies for each client the number of closed and open items I have.

    I entered:
    =COUNTIF(B4,"Client Name")=COUNTIF(J4,"open"=count)

    I receive a FALSE answer if it is closed or a TRUE answer if it is OPEN.

    What am I doing wrong?

    Thank you in advance, as I have received such good answers today. I really appreciate it.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try

    =SUMPRODUCT(--($B$1:$B$20=B1)*(--($J$1:$J$20="Open")))

    or

    =SUMPRODUCT(--($B$1:$B$20="Client Name")*(--($J$1:$J$20="Open")))


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    VBA Noob ...

    too quick to be true ...!!!

    Carim

  4. #4
    Registered User
    Join Date
    11-18-2006
    Posts
    6

    Thanks

    The second formula worked perfectly. THX

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad it helped

    Sorry Carim. Only 5 more post to make a 1000

    VBA Noob

+ 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