Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default named Range Referenced vai single cell

Hi I am trying to create a report that anyone in my office can then generate.
I have created named ranges and then use the names in equations, I Have
linked the criteria to a seperate sheet so all anyone has to do is type in
the criteria and the report will work.
I can't however reference named ranges via the other worksheet.
The named ranges are created using column titles, so what i am trying to do
is, when the user types in the column title in the worksheet say in cell B6
the equation in another worksheet will use this as it's reference and count
the number of times the give criteria appears in the named range e.g.
=COUNTIF(Overall_Status,"Not Started"), this returns the correct answer 112
but if I use =COUNTIF(B6,"Not Started") or =COUNTIF(INDIRECT(B6),"Not
Started") they return zero or REF#error.
Is this possible and Thanks in advance.
Graham
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default named Range Referenced vai single cell

"Graham" skrev i en meddelelse
...
Hi I am trying to create a report that anyone in my office can then
generate.
I have created named ranges and then use the names in equations, I Have
linked the criteria to a seperate sheet so all anyone has to do is type in
the criteria and the report will work.
I can't however reference named ranges via the other worksheet.
The named ranges are created using column titles, so what i am trying to
do
is, when the user types in the column title in the worksheet say in cell
B6
the equation in another worksheet will use this as it's reference and
count
the number of times the give criteria appears in the named range e.g.
=COUNTIF(Overall_Status,"Not Started"), this returns the correct answer
112
but if I use =COUNTIF(B6,"Not Started") or =COUNTIF(INDIRECT(B6),"Not
Started") they return zero or REF#error.
Is this possible and Thanks in advance.
Graham


Hi Graham

If B6 is on sheet1 and COUNTIF() on sheet2, you have
to use the sheet name:

=COUNTIF(INDIRECT(Sheet1!B6))


--
Best regards
Leo Heuser

Followup to newsgroup only please.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookup Error in Part of a Named Range Dallas64 Excel Worksheet Functions 6 April 18th 06 02:13 PM
Unique identifier Steve Barnett Excel Discussion (Misc queries) 19 January 6th 06 11:26 AM
looking for range of text in a single cell hatter Excel Discussion (Misc queries) 0 August 29th 05 06:23 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Identifying single column within named range ESAEO Excel Discussion (Misc queries) 2 March 24th 05 09:30 PM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"