Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,177
- Office Version
- 365
- 2019
- Platform
- Windows
I have been racking my brain. I am trying to get a formula to count columns that contain an x. If it does I only want to column to be counted as 1. For the example below I want a count of 5.
Thanks in advance!
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>Name</th><th>COL1</th><th>COL2</th><th>COL3</th><th>COL4</th><th>COL5</th></tr></thead><tbody>
<tr><td>Person x</td><td>x</td><td> </td><td> </td><td>x</td><td>x</td></tr>
<tr><td>Person x</td><td> </td><td> </td><td> </td><td> </td><td>x</td></tr>
<tr><td>Person x</td><td> </td><td>x</td><td>x</td><td>x</td><td>x</td></tr>
</tbody></table>
Thanks in advance!
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>Name</th><th>COL1</th><th>COL2</th><th>COL3</th><th>COL4</th><th>COL5</th></tr></thead><tbody>
<tr><td>Person x</td><td>x</td><td> </td><td> </td><td>x</td><td>x</td></tr>
<tr><td>Person x</td><td> </td><td> </td><td> </td><td> </td><td>x</td></tr>
<tr><td>Person x</td><td> </td><td>x</td><td>x</td><td>x</td><td>x</td></tr>
</tbody></table>