Solved

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

Posted on 2011-09-06
3
249 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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