Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Izo Izo is offline
external usenet poster
 
Posts: 6
Default How do I use the text content of a cell as a worksheet referen


Hi,

Thanks very much, I think that will be ok. I will try some of the other
tricks you suggested a swell.

Kind regards,
Izo

"JLatham" wrote:

Sorry, you cannot display the values from multiple cells within a single
cell. It just doesn't work that way.

Test it yourself, instead of using the INDIRECT() in a cell, just (for
testing) enter the formula normally as:
='33'!A5
and then try something like
='33'!A5:A7
Second attempt will not give you the results you expect.

But =SUM(33!A5:A7) will work fine, since that's a legitimate place to use a
range reference.

You really need the entire indirect in one cell. A37 probably should look
more like
="Sheet1" & "!A5") so you can easily change the sheet name, or even
="Sheet1" & "!A5:A7" for special cases where a range is permitted, as in:
=sum(Indirect(A37))
would be the same as
=SUM('Sheet1'!A5:A7) which is entirely ok to use, but just plain
=Sheet1!A5:A7 is not going to give you the answer you want.




"Izo" wrote:


Hi,

A37 contains the text "33" which is the name of the worksheet I'm trying to
reference. So =INDIRECT(A37 & "!A5") is getting A5 from worksheet 33. I'd
like to be able to get a range in worksheet 33 and display it in my cell, if
that's even possible.

Thanks for your help,
Izo

"JLatham" wrote:

Question is what is in A37?
If it is a formula, need the formula and its result (what is displayed in
the cell).

When I said "if a cell range is appropriate" I meant at times such as within
a VLOOKUP() formula. As you've used it, I would expect an error: you're
trying to reference several cells within just a single cell and that won't
work.

"Izo" wrote:


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
Using a Text Cell to Reference a Worksheet Name Jay L Excel Worksheet Functions 7 May 31st 10 12:26 PM
Using cell content as reference in formula ptrip Excel Worksheet Functions 14 February 4th 08 10:29 PM
Cell Content Cross Reference ron kahn Excel Worksheet Functions 1 March 2nd 07 11:43 AM
Reference cell formats + content 0-0 Wai Wai ^-^ Excel Discussion (Misc queries) 4 December 24th 05 02:46 AM
Reference Cell Content Sloth Excel Worksheet Functions 1 November 17th 05 09:00 PM


All times are GMT +1. The time now is 05:35 AM.

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"