Numerical value is range of cells has a text value

Closed
craig2014 Posts 1 Registration date Friday 27 June 2014 Status Member Last seen 27 June 2014 - 27 Jun 2014 à 06:49
Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 - 27 Jun 2014 à 16:51
Hi guys,

This is for a holiday rota. if any sell has a 'h' in it I would like to total up the h's in a cell at the end as a numerical value of how many days have been taken off. any ideas?

Cheers,
Craig

1 response

Mazzaropi Posts 1983 Registration date Monday 16 August 2010 Status Contributor Last seen 24 May 2023 147
27 Jun 2014 à 16:51
craig2014, Good evening.

I believe that you can use a COUNTIF Function to do this job for you.

Suppose you have a range of days off. A4:M4

You can count how many H are in the range.
O4 --> COUNTIF(A4:M4,"h")

Is this what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão