Results 1 to 3 of 3

Thread: (Excel 2K) Calculating the occurance of a letter in a coloumn.

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (Excel 2K) Calculating the occurance of a letter in a coloumn.

    I have a column that is filled with ABC or D for each row. these values are random and I need to find out how many of each for a set amount of rows... is this possible?
    example:

    row# : value
    1 B
    2 D
    3 D
    4 A
    5 B
    6 D
    7 A
    8 C
    9 A
    10 D

    so I need to get
    A = 3
    B = 2
    C = 1
    D = 4

    thanks in advance,
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Code:
    =COUNTIF(A1:A10,"A")
    the COUNTIF function seems to do what you what. The above counts the "A"s in the first ten rows of column A.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    Awesome thanks!
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width