anthonyexcel
Active Member
- Joined
- Jun 10, 2011
- Messages
- 258
- Office Version
- 365
- Platform
- Windows
If I have the table below and I wanted to exclude certain values like 3,4,6 in the average. I know that the formula below (array entered) excludes just 6, how do I get it to exclude 3,4,6? Thanks in advance!
<style type="text/css">
table.tableizer-table {
border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #ccc;
}
.tableizer-table th {
background-color: #104E8B;
color: #FFF;
font-weight: bold;
}
</style>
<tbody>
</tbody>
Code:
=AVERAGE(IF(1-(A1:A6=6),A1:A6))
table.tableizer-table {
border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #ccc;
}
.tableizer-table th {
background-color: #104E8B;
color: #FFF;
font-weight: bold;
}
</style>
1 |
---|
2 |
3 |
4 |
5 |
6 |
<tbody>
</tbody>