COUNT function with two criteria

bixha1978

New Member
Joined
Jun 25, 2024
Messages
3
Office Version
  1. 365
Hi

Can help me out how to use the COUNT function with two criteria?
So I like to count how many Type A are IN and how many Type A are out so than with B.C etc see attachment
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi

Can help me out how to use the COUNT function with two criteria?
So I like to count how many Type A are IN and how many Type A are out so than with B.C etc see attachment
 

Attachments

  • 12.JPG
    12.JPG
    55.8 KB · Views: 4
Upvote 0
Hello, try:

Excel Formula:
=COUNTIFS($B$2:$B$13,$B16,$C$2:$C$13,"Out")

Excel Formula:
=COUNTIFS($B$2:$B$13,$B16,$C$2:$C$13,"In")
 
Upvote 0
Solution
bixha1978,

Please Note: In the future, when marking a post as the solution, please mark the post that contains the solution (not your own post acknowledging that some other post was the solution).
When a post is marked as the solution, it is then shown right underneath the original question so people viewing the question can easily see the question and solution in a single quick glance without having to hunt through all the posts.

I have updated this thread for you.
 
Upvote 0

Forum statistics

Threads
1,223,575
Messages
6,173,151
Members
452,503
Latest member
AM74

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