+ Reply to Thread
Results 1 to 6 of 6

Counting cells with formulas

  1. #1
    Forum Contributor
    Join Date
    04-08-2008
    Posts
    121

    Counting cells with formulas

    Hi,

    I'm trying to use the counta funtion to count the number of values in a column which already has formulas in that column. Because the column already has formulas, it is counting all the cells rather than just the ones with values in them.

    i.e. in 80 cells there might only be 6 results using a vlookup but instead of counting 6, it counts all 80.

    How do I count just the values when counting cells that contain formulas?

    Any help would be appreciated.

    Harry

  2. #2
    Forum Contributor
    Join Date
    01-05-2004
    Location
    Helsinki, Finland
    Posts
    100
    Hi Harry,

    here's one way to do it

    Please Login or Register  to view this content.
    - Asser

  3. #3
    Forum Contributor
    Join Date
    04-08-2008
    Posts
    121
    Asser,

    That's brilliant, thanks.

    Regards
    Harry

  4. #4
    Forum Contributor
    Join Date
    01-05-2004
    Location
    Helsinki, Finland
    Posts
    100
    You are welcome

    - Asser

  5. #5
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    200
    would this be the same if you were counting cells with text instead of values?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You can use:

    =SUMPRODUCT(--(ISTEXT(A1:A100)))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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