COUNTIF Copying

NEM510

New Member
Joined
Sep 18, 2018
Messages
1
Hi there -

I have a spreadsheet with a worksheet for each month containing various bits of information

I am trying to set up a summary page that shows how often a term ('Smith', 'Jones', 'Johnson', etc) occurs in each month. I want to see how often a customer has contacted me each month and overall.

My summary page should have columns for each month and rows for each customer. I have used the following COUNTIF formula (example for the April column and the Smith row) =COUNTIF('April2018'!F3:F30,"Smith" and (May, Smith) =COUNTIF('May2018'!F3:F53,"Smith" and (April, Jones) =COUNTIF('April2018'!F3:F30,"Jones"

Is there a way to copy these without having to edit each cell manually?

thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I'd do this using a formula like this in H11:

=COUNTIF(INDIRECT("'"&H$10&"'!F:F"),$G11)

Cell H10 will contain the name of the sheet (e.g April2018), and can be extended across the sheet into I, J, K etc
Cell G11 and down from there the client names

You can then copy the formula into each cell as required
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,107
Members
452,544
Latest member
aush

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