Countif - sum occurrences in one column based on two conditions

jsmith70

New Member
Joined
Jul 7, 2019
Messages
12
Office Version
  1. 365
Platform
  1. Windows
I feel i am making simple mistakes.. but basically i have a table on another sheet and in my working sheet i need to populate the number.

Columns in question are:
A = month
B = province
C = jobs booked dollar value

So i need to tally how many jobs were booked in the month of JAN in the province of BC.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Depending on your version of Excel, try:

Excel Formula:
=COUNTIFS(Sheet1!A:A,"JAN",Sheet1!B:B,"BC")

If you want the dollar value:

Excel Formula:
=SUMIFS(Sheet1!C:C,Sheet1!A:A,"JAN",Sheet1!B:B,"BC")
 
Upvote 0
Solution
Depending on your version of Excel, try:

Excel Formula:
=COUNTIFS(Sheet1!A:A,"JAN",Sheet1!B:B,"BC")

If you want the dollar value:

Excel Formula:
=SUMIFS(Sheet1!C:C,Sheet1!A:A,"JAN",Sheet1!B:B,"BC")
thank you for the reply. the dollar value formula is the one i WAS able to figure out ;) but i simply need the count of how many times a dollar value appears in jobs booked. forgive me, but i'm missing something with your first example as there is no reference to the jobs booked column
 
Upvote 0
Depending on your version of Excel, try:

Excel Formula:
=COUNTIFS(Sheet1!A:A,"JAN",Sheet1!B:B,"BC")

If you want the dollar value:

Excel Formula:
=SUMIFS(Sheet1!C:C,Sheet1!A:A,"JAN",Sheet1!B:B,"BC")
actually i was overthinking this it looks like. i simply added a condition of ">0" for jobs
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,953
Members
449,095
Latest member
nmaske

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