# Counting the number of specific words in multiple sheets

#### Spartak19

##### New Member
I've got a spreadsheet with different names in a column, im trying to count the number of times a name occurs. So far I have worked out this formula - =SUMPRODUCT(LEN(D:D)-LEN(SUBSTITUTE(UPPER(D:D),UPPER(D3),"")))/LEN(D3) The name im looking for is in D3 and im looking to see how many times it occurs in the same column, with the column being D.
The bit im now stuck on is that its a weekly thing and ive got 4 different worksheets set up for each week. How do I count the number of occurrences in the 4 different sheets.
(The sheets are all identically set up, just different data in the columns.)

### Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

#### Trebor76

##### Well-known Member
Hi Spartak19,

As 3D formulas do not seem to work, here's one way to count the names in Col. D for Sheets1, Sheets2, Sheets3 and Sheets4 (change to suit):

=COUNTIF(Sheet1!D:D,"*"&Sheet1!D3&"*")+COUNTIF(Sheet2!D:D,"*"&Sheet2!D3&"*")+COUNTIF(Sheet3!D:D,"*"&Sheet3!D3&"*")+COUNTIF(Sheet4!D:D,"*"&Sheet4!D3&"*")

Note the entry in cell D3 will be added to the total.

Thanks,

Robert

Replies
3
Views
76
Replies
3
Views
61
Replies
5
Views
74
Replies
1
Views
56
Replies
3
Views
143

1,127,855
Messages
5,627,269
Members
416,236
Latest member
Lynchbox

### 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.

### Which adblocker are you using?

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

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