+ Reply to Thread
Results 1 to 4 of 4

Counting different info cells

  1. #1
    Registered User
    Join Date
    04-30-2008
    Posts
    3

    Counting different info cells

    Hello,

    Here is my situation: in a string of cells there are cells which contain only a number or only a letter. Now I want Excel to count the cells only that contain a number.

    So, for example A1, A2, A3, A4 and A6 contain a number. A5 contains a letter. In cell A8, I want the solution to be 5 (for only A1, A2, A3, A4, A6 contain a number).

    What is the formula for this?

    Thanks,
    Jazz

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Hi,

    The =COUNT() function only includes numeric cells, so, in A8, =COUNT(A1:A7) will return 5.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    04-30-2008
    Posts
    3
    I hope so too.
    I'm gonna try it and let you know.
    Thanks,
    Jazz

  4. #4
    Registered User
    Join Date
    04-30-2008
    Posts
    3
    sweep, it worked. thanks!

+ 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