Use count and ranges in same formula

pasjauo

New Member
Joined
May 1, 2017
Messages
49
Hi guys

I have stumbled upon a problem with a work assignment.

I have sales rep from different part of the country (divided in to 3 areas) and they input every time they make a visit and which category the visit is.

My boss would like to know per week how the different areas act upon his prioritizing of categories of the visits.

So i have date of visit, category of visit and employee name. I do not have the area pre divided.

I then tried to define an area with the names of the people in that area and then put it in my formula which looks like this:

Rich (BB code):
=COUNTIFS(DATECOLUMN,<DATE,DATECOLUMN,>DATE,NAMECOLUMN,AREA1,VISITCAT,REFERENCETOCAT)

AREA1 is my range with names. I would like a simple formula instead of doing above formula for each name and combining them in the end.

Any tips?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
It should work if you enclose it in SUM then array confirm it with Ctrl Shift Enter.

=SUM(COUNTIFS(DATECOLUMN,<DATE,DATECOLUMN,>DATE,NAMECOLUMN,AREA1,VISITCAT,REFERENCETOCAT))
 
Upvote 0

Forum statistics

Threads
1,215,474
Messages
6,125,024
Members
449,204
Latest member
LKN2GO

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