ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If Statement help needed please (https://www.excelbanter.com/excel-worksheet-functions/7405-if-statement-help-needed-please.html)

Ian Harris

If Statement help needed please
 
Hi
How can I get the following function to check and count for the letter L as
well H

=IF(A8="","",COUNTIF(F8:AJ8,"H"))

Regards
Ian



Arvi Laanemets

Hi

=IF(A8="","",COUNTIF(F8:AJ8,"H")+COUNTIF(F8:AJ8,"L "))


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)



"Ian Harris" wrote in message
. ..
Hi
How can I get the following function to check and count for the letter L

as
well H

=IF(A8="","",COUNTIF(F8:AJ8,"H"))

Regards
Ian





Ian Harris

Hi Arvi
Many thanks for help
Regards
Ian
"Arvi Laanemets" wrote in message
...
Hi

=IF(A8="","",COUNTIF(F8:AJ8,"H")+COUNTIF(F8:AJ8,"L "))


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)



"Ian Harris" wrote in message
. ..
Hi
How can I get the following function to check and count for the letter L

as
well H

=IF(A8="","",COUNTIF(F8:AJ8,"H"))

Regards
Ian







Don Guillett

try
=if(a8="","",SUMPRODUCT((F8:aj8={"a","h"})*1))

--
Don Guillett
SalesAid Software

"Ian Harris" wrote in message
. ..
Hi
How can I get the following function to check and count for the letter L

as
well H

=IF(A8="","",COUNTIF(F8:AJ8,"H"))

Regards
Ian






All times are GMT +1. The time now is 01:32 AM.

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