ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Does Excel support Alphanumberic formulas? (https://www.excelbanter.com/excel-worksheet-functions/96946-does-excel-support-alphanumberic-formulas.html)

BryanP Man

Does Excel support Alphanumberic formulas?
 
In my work, Patients earn "Points" for specific goals and I enter the total
in an excel spreadsheet, however, some days are "F"ree and some are "P"ass
days and only the letter is used. Is there a formula in excel I can use to
combine alpha and numberic data and still get sum, and avg results?

Ragdyer

Does Excel support Alphanumberic formulas?
 
You can use the Countif() function.

For example:

=SUM(C1:C20,COUNTIF(C1:C20,"F"))

If you're going to combine the count (total) of "F" and "P", try this:

=SUM(C1:C20,COUNTIF(C1:C20,{"F","P"}))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"BryanP Man" <BryanP wrote in message
...
In my work, Patients earn "Points" for specific goals and I enter the
total
in an excel spreadsheet, however, some days are "F"ree and some are "P"ass
days and only the letter is used. Is there a formula in excel I can use
to
combine alpha and numberic data and still get sum, and avg results?




All times are GMT +1. The time now is 05:57 AM.

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