+ Reply to Thread
Results 1 to 2 of 2

help with an COUNTIF formula

  1. #1
    Registered User
    Join Date
    01-27-2005
    Posts
    31

    help with an COUNTIF formula

    hi all,

    can someone give me a hand with a little problem i have in excel?

    I am creating quite a few countif forumals, which are pretty easy.
    What I want to do is count the data which has no data in the coloumn next to it.

    example

    Column A Column B
    22 tea
    33 coffee
    tea
    44 coffee
    55 milk
    66 sugar
    tea

    So if i was to do a countif for tea I want the results to be 2.

    Any ideas?
    thanks

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by kestrel
    hi all,

    can someone give me a hand with a little problem i have in excel?

    I am creating quite a few countif forumals, which are pretty easy.
    What I want to do is count the data which has no data in the coloumn next to it.

    example

    Column A Column B
    22 tea
    33 coffee
    tea
    44 coffee
    55 milk
    66 sugar
    tea

    So if i was to do a countif for tea I want the results to be 2.

    Any ideas?
    thanks
    This is your formula ...

    =sumproduct(--(B1:B7="tea),--(A1:A7=""))
    BenjieLop
    Houston, TX

+ 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