My formula isn't working???!

Danfrancozola

New Member
Joined
Sep 1, 2014
Messages
19
Hello guys,

Can somebody please help me and tell me why this formula isnt working:

=COUNTIFS(INDIRECT("'"&$B7&"'!$Q$9:$Q$28,">0.5",'!$X$9:$X$28,">0.5"))

Thanks a bunch!

Dan
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,905
Office Version
  1. 365
Platform
  1. Windows
Hi, maybe:

=COUNTIFS(INDIRECT("'"&$B7&"'!$Q$9:$Q$28"),">0.5",INDIRECT("'"&B7&"'!$X$9:$X$28"),">0.5")
 
Upvote 0

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,905
Office Version
  1. 365
Platform
  1. Windows
Yes, if you want the sheet name to come from cell B7.

=SUMPRODUCT((INDIRECT("'"&B7&"'!$L$9:$L$28")>0)*(INDIRECT("'"&B7&"'!$L$9:$L$28")<10))

Or the countifs alternative would be:

=COUNTIFS(INDIRECT("'"&B7&"'!$L$9:$L$28"),">0",INDIRECT("'"&B7&"'!$L$9:$L$28"),"<10")
 
Upvote 0

Forum statistics

Threads
1,191,092
Messages
5,984,593
Members
439,896
Latest member
SquareCare

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
Top