Count value on each sheet across workbook

Dublin Irish

New Member
Joined
Dec 9, 2020
Messages
5
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hello,

Im a complete novice so please bear with me ,

Im looking to count the number of times a word is used on each sheet across my workbook. I have created a list of sheet name and the criteria and tried using the following function to no avail.

=SUMPRODUCT(COUNTIF(INDIRECT("'"&Table4[[#Headers],[Sheets]]&"'!C7:C33"),C4))

I should be getting 2 as my answer

Thanks In Advance


Excel Example Snip.png
eXCEL sNIP Sheet 1.png
 

Attachments

  • Excel Example Snip.png
    Excel Example Snip.png
    55.7 KB · Views: 8

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You don't want to include the header in the formula, so try it like
Excel Formula:
=SUMPRODUCT(COUNTIF(INDIRECT("'"&Table4[Sheets]&"'!C7:C33"),C4))
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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