GSheets - Count Cells in an Array based on criteria in Columns

ChrisLaR

New Member
Joined
Aug 2, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I've been spinning my wheels on this one for a while now and I am ready to tag in a friend...

Referencing the attached image, I am trying to:
  • Count the number of occupied cells in D2:H
  • Based on the strings present in columns A-C
  • Using criteria from another sheet (represented here in J4:K8)
So in the example shown, I'm trying to count the number of used slots in July, in Asia, on Platform A (answer would be 3).
If I changed the criteria to August, Asia, A, then the answer would be 2
If I changed to October, Europe, C, then the answer would be 0

I am very stuck -- anyone have a solution for this one?

Thanks!
-Chris
 

Attachments

  • Screenshot 2022-08-02 143055.jpg
    Screenshot 2022-08-02 143055.jpg
    158.2 KB · Views: 11

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,216,518
Messages
6,131,121
Members
449,624
Latest member
MandlaMan

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