Count If with Name and Date Range

edmond2

New Member
Joined
Mar 26, 2009
Messages
1
I have a spreadsheet that lists tickets in one column, the name of who submitted them in the next, and the date it was submitted in the next. On a separate sheet I am trying to total the number of times each name appears by month. So I'd like to have a column with names on the left, and then 12 columns of months in a row across the top showing totals by month. However, I can't get it to work. Please help! :oops:
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If your sheet1 data is in Sheet1A1:C100 with names in B and dates in C.
And on Sheet2 names are in column A and Dates in row 1, try putting in B2 of the second Sheet
=SUMPRODUCT(--(Sheet1!$B$1:$B$100=$A1),--(Month(Sheet1!$C$1:$C$100)=MONTH(B$1))

and drag.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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