COUNTIF with INDIRECT

robgrant

New Member
Joined
Jul 1, 2010
Messages
31
I'm trying to incorporate =COUNTIF(data!B5:B100,"=0")

with INDIRECT (cell ref D3).

I've already tried:

=COUNTIF(INDIRECT"'"&D3&"'(data!B7:B100,"=0"))

Research doesn't seem to turn up anything specific to this case.
 

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.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650

ADVERTISEMENT

Try

=COUNTIF(INDIRECT("'"&D3&"'!B7:B100"),0)
 

robgrant

New Member
Joined
Jul 1, 2010
Messages
31

ADVERTISEMENT

Hey Vog,

Anyway to incorporate INDIRECT into:

=INDEX(data!$A$7:$A$2012,MATCH($A2,data!B$7:B$2012,0))
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

=INDEX(INDIRECT("'"&D3&"'!$A$7:$A$2012"),MATCH($A2,INDIRECT("'"&D3&"'!B$7:B$2012"),0))
 

robgrant

New Member
Joined
Jul 1, 2010
Messages
31
Re: INDEX and MATCH with INDIRECT

Vog: You're absolutely amazing!

Works first time, every time.

Thank you again.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,506
Messages
5,854,126
Members
431,619
Latest member
AjaiSpillers

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