+ Reply to Thread
Results 1 to 5 of 5

Counting letters

  1. #1
    Registered User
    Join Date
    08-18-2007
    Posts
    54

    Counting letters

    Hi All,

    Im trying to think of a way to count values in a column, my values consist of things like
    A1 C1, Z6, Z8, BB2, J6 and many others.

    Is there a way to count how many Z6's, C1's etc.?

    Anyone help?

  2. #2
    Registered User
    Join Date
    09-04-2007
    Posts
    3
    Quote Originally Posted by samtwilliams
    Hi All,

    Im trying to think of a way to count values in a column, my values consist of things like
    A1 C1, Z6, Z8, BB2, J6 and many others.

    Is there a way to count how many Z6's, C1's etc.?

    Anyone help?
    You could use countif function for example.

    =COUNTIF(B5:B13;"c1")

    Where B5:B13 is your colums (range with values you want to count), "c1" is the value to count ("c1", "z6", "bb2" etc)

    Plitfyg

  3. #3
    Registered User
    Join Date
    08-18-2007
    Posts
    54
    Thanks that works great! but i have encountered a new problem.

    I have a column with the values which is great but the cell to the right I specify a qty of say A1, C1 etc. Is there a way this count can work that out.
    20 xA1
    1 x A1
    15 x A1
    1 x C1
    3 x c4

    and count them?

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    So in your example, would your expected result be 36 A1's, 1 C1 and 3 C4's?

    If so, try:

    =SUMIF(B5:B13,"A1",A5:A13)

    Where B5:B13 represents the search range, "A1" is what you're searching for, and A5:A13 represents your sum range.

  5. #5
    Registered User
    Join Date
    08-18-2007
    Posts
    54
    That works perfectly,

    Thanks Paul
    Your a credit to this forum.

    Thanks
    Sam

+ 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