+ Reply to Thread
Results 1 to 5 of 5

Thread: IF & COUNTIF help

  1. #1
    Registered User
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    IF & COUNTIF help

    Hi

    Need some help.

    I have a spreadsheet where I enter client codes in col B. I note whether they are a referral in col C, however this is preset to "No")

    I want to count all the clients that are not a referral.

    SO i am trying to find a formula which is something like: IF there is a value in col B, count it if the value in Col C is "No)

    Ive tried =IF(B3:B52="*", COUNTIF(C3:C52, "No")) but its wrong.

    See attached a file, grateful for any help

    thanks

    Nik
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,206

    Re: IF & COUNTIF help

    Try this:

    =SUMPRODUCT(--(B3:B52<>0),--(C3:C52="No"))
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Registered User
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: IF & COUNTIF help

    Thanks

    Out of interest is it possible to perform the calculation with a nested IF & COUNTIF?

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,206

    Re: IF & COUNTIF help

    You can do that with array function, but this is better.

    For non-array you need to add one more row...
    Look example

    clients(1).xls

    First solution is continuous so you look max, second sum (or count)
    "Relax. What is mind? No matter. What is matter? Never mind!"

+ 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.2.0