Do not laugh at my formula! Countif question.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
Hi Tom,


sumproduct is what you need:
Book4.xls
ABCDE
130-Aug-02NewSystem31/08/2002
202-Sep-02NewSystem4/09/2002
303-Sep-02ThirdPartyRepairCounts
404-Sep-02NewSystemWarrentyRepair1
504-Sep-02UpgradeNewSystem2
604-Sep-02WarrentyRepairThirdPartyRepair1
706-Sep-02NewSystemUpgrade1
8
9
10
Sheet2



Paddy
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Let A1:B8 house the sample, D1 the start date, and D2 the end date.

Create a unique list from B1:B8 using Advanced Filter in E fro E1 on.

In F2 enter & copy down:

=SUMPRODUCT(($A$2:$A$8>=$D$1)*($A$2:$A$8<=$D$2)*($B$2:$B$8=E2))
aaMultCondCount TsTom.xls
ABCDEF
1DateItem31-Aug-02ItemCount
230-Aug-02NewSystem04-Sep-02NewSystem2
302-Sep-02NewSystemThirdPartyRepair1
403-Sep-02ThirdPartyRepairUpgrade1
504-Sep-02NewSystemWarrantyRepair1
604-Sep-02Upgrade
704-Sep-02WarrantyRepair
806-Sep-02NewSystem
Sheet1


Aladin
 
Upvote 0
Tom,

OT
"Do not laugh at my formula! Countif question."

Why should we laugh?

What I found out in this context is that
there exist no stupid questions but stupid answers to relevant questions :)

Kind regards,
Dennis
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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