CountIf or SumProduct formula

ultracyclist

Active Member
Joined
Oct 6, 2010
Messages
271
Office Version
  1. 365
Platform
  1. Windows
I want to count the number of cells that have the Value "Witchta 15" in column I and a date value in this format "mm/dd/yyyy" in column S.

Since the date will change with each row, I'm not sure which formula is correct, so it only counts a value of 1 for each row that matches the above criteria.

Thanks,

Allen
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I'm using the date format listed in my initial post. is that what your asking?
 
Upvote 0
Here's a sample of the data

<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>
<table class="tableizer-table">
<tr class="tableizer-firstrow"><th>Wichita 15</th><th>3/27/2013</th></tr>
<tr><td>Wichita 15</td><td>3/28/2013</td></tr>
<tr><td>Wichita 15</td><td>3/29/2013</td></tr>
<tr><td>Wichita 15</td><td>3/30/2013</td></tr>
<tr><td>Dallas 2</td><td>3/31/2013</td></tr>
<tr><td>Dallas 2</td><td>4/1/2013</td></tr></table>


In this instance the formula would count a total of 4 since it has 4 dates that are associated with "Witchita 15"in the preceding column. In some cases the date may be the same for multiple rows. I'm not so concerned with that.

Hope this helps clarify things.

Thanks,

Allen
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,572
Members
448,972
Latest member
Shantanu2024

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