+ Reply to Thread
Results 1 to 2 of 2

Counting Problem

  1. #1
    Registered User
    Join Date
    06-21-2005
    Posts
    10

    Counting Problem

    Hi everyone,

    My problem is with the COUNTA funciton. I have a formula, "=IF(COUNTA(K4:Q4)>0,1,0)", set up so that if at least one cell has a letter/value, then formula will return a result of 1. The cells, which this equation counts, are also formulas as well. (Ex. =IF('Protocol!$K4="","",'Protoco !$K4))

    I want to be able to count the cells that have data, yet not count those cells which have a blank result. Is there anyway to do this in Excel?

    Thanks and Have a great weekend,
    Pete

  2. #2
    Domenic
    Guest

    Re: Counting Problem

    Assuming that your data contains text values and/or formula blanks,
    try...

    =IF(COUNTIF(K4:Q4,"?*"),1,0)

    Hope this helps!

    In article <[email protected]>,
    peter_rivera
    <[email protected]> wrote:

    > Hi everyone,
    >
    > My problem is with the COUNTA funciton. I have a formula,
    > "=IF(COUNTA(K4:Q4)>0,1,0)", set up so that if at least one cell has a
    > letter/value, then formula will return a result of 1. The cells, which
    > this equation counts, are also formulas as well. (Ex.
    > =IF('Protocol!$K4="","",'Protoco !$K4))
    >
    > I want to be able to count the cells that have data, yet not count
    > those cells which have a blank result. Is there anyway to do this in
    > Excel?
    >
    > Thanks and Have a great weekend,
    > Pete


+ 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