Count Areas with a formula

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,176
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am trying to count areas with a formula. Please see below. 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>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th><th>I</th><th>J</th><th>K</th><th>L</th><th>M</th><th>N</th><th>Count </th></tr></thead><tbody>
<tr><td>12</td><td>32</td><td> </td><td> </td><td>43</td><td> </td><td> </td><td> </td><td>54</td><td>45</td><td>67</td><td>78</td><td>98</td><td>3</td><td>3</td></tr>
<tr><td>12</td><td>12</td><td> </td><td>34</td><td>5</td><td> </td><td>32</td><td>54</td><td> </td><td>54</td><td>45</td><td> </td><td>3</td><td>3</td><td>5</td></tr>
<tr><td>12</td><td> </td><td>12</td><td> </td><td> </td><td>12</td><td> </td><td>2</td><td> </td><td>2</td><td> </td><td>12</td><td>12</td><td>12</td><td>6</td></tr>
</tbody></table>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If you can have an empty column (that might be hidden) after the last column of you dataset (empty column O in this example), then try

=COUNTIFS(A2:N2,"<>",B2:O2,"")
 
Upvote 0
Tetra201 that works! Thank you so much. I greatly appreciate it.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top