Hi
I used a helper column with the formula.
I then just did a normal countif on the helper column.
Alternatively, a non-formula based solution is to create a pivot table with the 2 columns as row lables with the count in the values box and then filter column 2 for any lines which contain the word "stepper".
Sheet1
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 99px"><COL style="WIDTH: 123px"><COL style="WIDTH: 233px"><COL style="WIDTH: 94px"><COL style="WIDTH: 64px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD>Helper column</TD><TD>Line </TD><TD>Column 2</TD><TD>Line 1</TD><TD>stepper</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="TEXT-ALIGN: right">TRUE</TD><TD>Line 1</TD><TD>In this sentence is the word stepper</TD><TD style="TEXT-ALIGN: right">4</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 1</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 1</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: right">TRUE</TD><TD>Line 1</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: right">TRUE</TD><TD>Line 1</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 1</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 1</TD><TD>In this sentence is the word </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">22</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 2</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">23</TD><TD style="TEXT-ALIGN: right">FALSE</TD><TD>Line 3</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">24</TD><TD style="TEXT-ALIGN: right">TRUE</TD><TD>Line 1</TD><TD>In this sentence is the word stepper</TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">25</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">26</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">27</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">28</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">29</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">30</TD><TD> </TD><TD>Count of Column 2</TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">31</TD><TD> </TD><TD>Column 1</TD><TD>Column 2</TD><TD>Total</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">32</TD><TD> </TD><TD>Line 1</TD><TD>In this sentence is the word stepper</TD><TD style="TEXT-ALIGN: right">4</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">33</TD><TD> </TD><TD>Line 2</TD><TD>In this sentence is the word stepper</TD><TD style="TEXT-ALIGN: right">4</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">34</TD><TD> </TD><TD>Line 3</TD><TD>In this sentence is the word stepper</TD><TD style="TEXT-ALIGN: right">3</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">35</TD><TD> </TD><TD>Grand Total</TD><TD> </TD><TD style="TEXT-ALIGN: right">11</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">36</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR></TBODY></TABLE>
<TABLE style="BORDER-BOTTOM-STYLE: groove; BORDER-BOTTOM-COLOR: #00ff00; BORDER-RIGHT-STYLE: groove; BACKGROUND-COLOR: #fffcf9; BORDER-TOP-COLOR: #00ff00; FONT-FAMILY: Arial; BORDER-TOP-STYLE: groove; COLOR: #000000; BORDER-RIGHT-COLOR: #00ff00; FONT-SIZE: 10pt; BORDER-LEFT-STYLE: groove; BORDER-LEFT-COLOR: #00ff00"><TBODY><TR><TD>Spreadsheet Formulas</TD></TR><TR><TD><TABLE style="FONT-FAMILY: Arial; FONT-SIZE: 9pt" border=1 cellSpacing=0 cellPadding=2><TBODY><TR style="BACKGROUND-COLOR: #cacaca; FONT-SIZE: 10pt"><TD>Cell</TD><TD>Formula</TD></TR><TR><TD>A3</TD><TD>=AND(B3=$D$2, ISNUMBER(FIND($E$2,C3))=TRUE)</TD></TR><TR><TD>D3</TD><TD>= COUNTIF($A$3:$A$24,TRUE)</TD></TR><TR><TD>A4</TD><TD>=AND(B4=$D$2, ISNUMBER(FIND($E$2,C4))=TRUE)</TD></TR><TR><TD>A5</TD><TD>=AND(B5=$D$2, ISNUMBER(FIND($E$2,C5))=TRUE)</TD></TR><TR><TD>A6</TD><TD>=AND(B6=$D$2, ISNUMBER(FIND($E$2,C6))=TRUE)</TD></TR><TR><TD>A7</TD><TD>=AND(B7=$D$2, ISNUMBER(FIND($E$2,C7))=TRUE)</TD></TR><TR><TD>A8</TD><TD>=AND(B8=$D$2, ISNUMBER(FIND($E$2,C8))=TRUE)</TD></TR><TR><TD>A9</TD><TD>=AND(B9=$D$2, ISNUMBER(FIND($E$2,C9))=TRUE)</TD></TR><TR><TD>A10</TD><TD>=AND(B10=$D$2, ISNUMBER(FIND($E$2,C10))=TRUE)</TD></TR><TR><TD>A11</TD><TD>=AND(B11=$D$2, ISNUMBER(FIND($E$2,C11))=TRUE)</TD></TR><TR><TD>A12</TD><TD>=AND(B12=$D$2, ISNUMBER(FIND($E$2,C12))=TRUE)</TD></TR><TR><TD>A13</TD><TD>=AND(B13=$D$2, ISNUMBER(FIND($E$2,C13))=TRUE)</TD></TR><TR><TD>A14</TD><TD>=AND(B14=$D$2, ISNUMBER(FIND($E$2,C14))=TRUE)</TD></TR><TR><TD>A15</TD><TD>=AND(B15=$D$2, ISNUMBER(FIND($E$2,C15))=TRUE)</TD></TR><TR><TD>A16</TD><TD>=AND(B16=$D$2, ISNUMBER(FIND($E$2,C16))=TRUE)</TD></TR><TR><TD>A17</TD><TD>=AND(B17=$D$2, ISNUMBER(FIND($E$2,C17))=TRUE)</TD></TR><TR><TD>A18</TD><TD>=AND(B18=$D$2, ISNUMBER(FIND($E$2,C18))=TRUE)</TD></TR><TR><TD>A19</TD><TD>=AND(B19=$D$2, ISNUMBER(FIND($E$2,C19))=TRUE)</TD></TR><TR><TD>A20</TD><TD>=AND(B20=$D$2, ISNUMBER(FIND($E$2,C20))=TRUE)</TD></TR><TR><TD>A21</TD><TD>=AND(B21=$D$2, ISNUMBER(FIND($E$2,C21))=TRUE)</TD></TR><TR><TD>A22</TD><TD>=AND(B22=$D$2, ISNUMBER(FIND($E$2,C22))=TRUE)</TD></TR><TR><TD>A23</TD><TD>=AND(B23=$D$2, ISNUMBER(FIND($E$2,C23))=TRUE)</TD></TR><TR><TD>A24</TD><TD>=AND(B24=$D$2, ISNUMBER(FIND($E$2,C24))=TRUE)</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
But T Valko's formula is definitely more simple and seems to work for me.