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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

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.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,812
Messages
5,638,489
Members
417,028
Latest member
JFCLUK

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