Countifs Depending on a Date Range

Timberwolf

New Member
Joined
Feb 20, 2018
Messages
26
Hi all

Ok I know my coding is horrible. I have no training and just google, then make it work for what I need.

I have a table that checks several cells on two different sheets for a Part # then sums the number of times it finds that Part #.

What I need to now do is add to the below formula so it does the same thing but only if it finds the following range 'Table Maintenance Reports'!E$2:E$10693 ">=1/1/2018","<=1/1/2019"

Here is my current formula please don't laugh too loud :LOL:

=SUM(COUNTIF('Table Maintenance Reports'!H$1:H$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!K$1:K$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!N$1:N$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!Q$1:Q$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!T$1:T$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!W$1:W$10693,[@[Item No.]]),COUNTIF('Table Maintenance Reports'!Z$1:Z$10693,[@[Item No.]]), COUNTIF('Table Inspection Reports'!H$2:H$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!K$1:K$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!N$1:N$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!Q$1:Q$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!T$1:T$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!W$1:W$10693,[@[Item No.]]),COUNTIF('Table Inspection Reports'!Z$1:Z$10693,[@[Item No.]]))

Any help or advice is much appreciated but comments such as "My eyes are bleeding" or "Bburn your computer" are not needed lol Thanks all!
 
Last edited:

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,214,912
Messages
6,122,204
Members
449,072
Latest member
DW Draft

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