Stella_100
New Member
- Joined
- Nov 11, 2018
- Messages
- 3
Hi and thanks in advance to whoever would like to take on this task. Please bear with me as English is not my first language, I will try to be as clear as possible. I would be very grateful if you could help me in this query.
I would like to count the occurrance of the character S as shown below but counting the character as 1 when it appears in a contiguous range of cells
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]B1
[/TD]
[TD]C1
[/TD]
[TD]D1
[/TD]
[TD]E1
[/TD]
[TD]F1
[/TD]
[TD]G1
[/TD]
[TD]H1
[/TD]
[TD]I1
[/TD]
[TD]J1
[/TD]
[TD]K1
[/TD]
[TD]L1
[/TD]
[TD]M1
[/TD]
[TD]N1
[/TD]
[TD]O1
[/TD]
[/TR]
[TR]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The formula should give therefore a total of 5 while using countif would give me a total of 10
I do hope I have explained everything clearly. Thank you for your help and interest. Looking forward to a reply whenever is convenient.
I would like to count the occurrance of the character S as shown below but counting the character as 1 when it appears in a contiguous range of cells
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A1
[/TD]
[TD]B1
[/TD]
[TD]C1
[/TD]
[TD]D1
[/TD]
[TD]E1
[/TD]
[TD]F1
[/TD]
[TD]G1
[/TD]
[TD]H1
[/TD]
[TD]I1
[/TD]
[TD]J1
[/TD]
[TD]K1
[/TD]
[TD]L1
[/TD]
[TD]M1
[/TD]
[TD]N1
[/TD]
[TD]O1
[/TD]
[/TR]
[TR]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The formula should give therefore a total of 5 while using countif would give me a total of 10
I do hope I have explained everything clearly. Thank you for your help and interest. Looking forward to a reply whenever is convenient.