Excel - count cells by worksheet and color

Costtx

New Member
Joined
May 15, 2017
Messages
19
I refer to my previous enquiry at: counting cells based on colours within another worksheet

I have 2 main functions I am trying to meet:
1. The type of enquiry
2. the location of the enquirer

The type of enquiry I will use colored tabs to identify them (Assistance = red, unassigned = blue, other = green etc).

I have worked out separate functions for each but don't know how to combine them.

I can count the cell colors based on the guidance from How to count and sum cells by color in Excel

I can count the location based on SumProduct+CountIf formulas.

I am unable to fix it so it counts the number of cells of a particular color AND appears in a particular location.

Can anyone provide any guidance on how to combine these functions?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

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