matching multiple criteria for a date

omer1234

Board Regular
Joined
Nov 29, 2011
Messages
161
If I have this data set, how do I know how many times apples appear on A,B,C on a specific date?

Thanks in advance, as I learn these functions



Time Entered
2/27/2024​
2/27/2024​
2/27/2024​
2/27/2024​
2/27/2024​
2/27/2024​
2/27/2024​
2/27/2024​
2/21/2024​
2/21/2024​
2/21/2024​
2/21/2024​
2/21/2024​
2/20/2024​
ShiftABABCACBABCACB
UnitApplesOrangesTomatoApplesApplesBananaapplesApplesBananaPineapple\TomatoPineappleApplesBanana
Apples
ABC
2/20/2024​
2/21/2024​
2/27/2024​
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
=COUNTIFS($B$1:$O$1,$D8,$B$2:$O$2,F$7,$B$3:$O$3,$F$6)

Book1
ABCDEFGHIJKLMNO
1Time Entered2/27/242/27/242/27/242/27/242/27/242/27/242/27/242/27/242/21/242/21/242/21/242/21/242/21/242/20/24
2ShiftABABCACBABCACB
3UnitApplesOrangesTomatoApplesApplesBananaapplesApplesBananaPineapple\TomatoPineappleApplesBanana
4
5
6Apples
7ABC
82/20/24000
92/21/24001
102/27/24122
Sheet1
Cell Formulas
RangeFormula
F8:H10F8=COUNTIFS($B$1:$O$1,$D8,$B$2:$O$2,F$7,$B$3:$O$3,$F$6)
 
Upvote 0
=COUNTIFS($B$1:$O$1,$D8,$B$2:$O$2,F$7,$B$3:$O$3,$F$6)

Book1
ABCDEFGHIJKLMNO
1Time Entered2/27/242/27/242/27/242/27/242/27/242/27/242/27/242/27/242/21/242/21/242/21/242/21/242/21/242/20/24
2ShiftABABCACBABCACB
3UnitApplesOrangesTomatoApplesApplesBananaapplesApplesBananaPineapple\TomatoPineappleApplesBanana
4
5
6Apples
7ABC
82/20/24000
92/21/24001
102/27/24122
Sheet1
Cell Formulas
RangeFormula
F8:H10F8=COUNTIFS($B$1:$O$1,$D8,$B$2:$O$2,F$7,$B$3:$O$3,$F$6)
Thanks
 
Upvote 0
you are welcome
as asked by

Scott Huish

What version of excel are you using - would be worth updating your profile to show version as solutions will be dependant on what version you have and therefore what functions available
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,684
Members
449,116
Latest member
HypnoFant

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