ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to add up letters to equal a number value. (https://www.excelbanter.com/excel-discussion-misc-queries/245947-how-add-up-letters-equal-number-value.html)

FrizB

How to add up letters to equal a number value.
 
I'm sure this is easy... I have two columns that contain different letters. I
want to create a cells that will add up all the like letters,(the letters
represent abbreviations for different payor sources) i.e. How many A's, how
many K's, etc. I've used SUMPRODUCT, but get a NAME?error. I guess I don't
know how to represent the letters as numbers. Please help, I'm going nuts!!!

Jacob Skaria

How to add up letters to equal a number value.
 
'number of k's in column A
=COUNTIF(A:A,"A")

'number of K's in column A
=COUNTIF(A:A,"K")

If 'a' or 'k' is within the cell then try
=COUNTIF(A:A,"*A*")


If this post helps click Yes
---------------
Jacob Skaria


"FrizB" wrote:

I'm sure this is easy... I have two columns that contain different letters. I
want to create a cells that will add up all the like letters,(the letters
represent abbreviations for different payor sources) i.e. How many A's, how
many K's, etc. I've used SUMPRODUCT, but get a NAME?error. I guess I don't
know how to represent the letters as numbers. Please help, I'm going nuts!!!



All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com