Solved

How to use CountIf  with Indirect when referring to another worksheet?

Posted on 2011-09-06
3
246 Views
Last Modified: 2012-06-27
Hello again,
See attached example.  I want to use INDIRECT to reference a cell that contains the worksheet name.  My formula works if I name the worksheet, e.g. data but not if I name it, e.g. 11-08-01.  Am I doing something wrong?  What would you suggest?

Gary
LCS-by-Activity-Code-08-2011-EE-.xls
0
Comment
Question by:garyrobbins
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
StephenJR earned 500 total points
ID: 36491387
Does this work?

=COUNTIF(INDIRECT("'"&$E$4&"'!$D$5:$AC$100"),$B6)

You need the quote marks I think.
0
 

Author Comment

by:garyrobbins
ID: 36491424
StephenJR:
That did it!
Thanks for the prompt response.

Gary
0
 

Author Closing Comment

by:garyrobbins
ID: 36491429
StephenJR:
That did it!
Thanks for the prompt response.

Gary
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now