#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Indirect

Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5 contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4, but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Indirect

Doesn't B4 need to contain a cell reference, whereas a sum formula returns a
number?

--
__________________________________
HTH

Bob

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:9a1768a3caeab@uwe...
Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5
contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4, but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Indirect

Hi,
I think the problem is that L9 is empty or 0 try

=if(or(L9="",L9=),0,INDIRECT($A5&"!"&B$4))

"BNT1 via OfficeKB.com" wrote:

Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5 contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4, but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Indirect

Are you saying that =INDIRECT($A5&"!"&B$4) works but =INDIRECT($A5&"!"&L$9)
doesn't?
What value does L9 show? What does =ISNUMBER(L9) show?
--
David Biddulph

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:9a1768a3caeab@uwe...
Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5
contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4, but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Indirect

Suppose A5 contains the text: Sheet3
And B4 the text: A1
The formula =INDIRECT($A5&"!"&B$4) will return the value from Sheet3 cell
A1; the result will be the same as =Sheet3!A1

If you want the formula to return the value from L9 on the other sheet, then
cell B4 should hold the text: L9

Or have I misread your question?

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:9a1768a3caeab@uwe...
Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5
contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4, but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Indirect

Hi Bob

Well, this did get the grey matter working and now ive seen the error of my
ways. I have hiden the rows on the sheet when compiled some years ago, and
mistakenly, looked at the wrong B4 in another sheet

Thanks for the help

regards

Bob Phillips wrote:
Doesn't B4 need to contain a cell reference, whereas a sum formula returns a
number?

Hi

[quoted text clipped - 8 lines]

regards


--
Message posted via http://www.officekb.com

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Indirect

Looking at this again, I realise that if L9 returns a number, you haven't
included the column letter in your formula.
I assume that B4 included a letter and number?
--
David Biddulph

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Are you saying that =INDIRECT($A5&"!"&B$4) works but
=INDIRECT($A5&"!"&L$9) doesn't?
What value does L9 show? What does =ISNUMBER(L9) show?
--
David Biddulph

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:9a1768a3caeab@uwe...
Hi

Currently using this formula in cell =INDIRECT($A5&"!"&B$4) A5
contains
the sheet number, and B4 contains a value. All works well

What I want to do now is amend to show the value in L9, instead of B4,
but
keep getting REF# error. Incidentally, L9 does contain a sum formula

All help appricaiated

regards

--
Message posted via http://www.officekb.com





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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
INDIRECT.EXT Danny Lewis Excel Worksheet Functions 0 July 14th 06 11:00 AM
INDIRECT.EXT Stephan Excel Worksheet Functions 0 March 16th 06 09:15 AM
indirect? cjjoo Excel Worksheet Functions 5 November 23rd 05 11:11 AM


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

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

About Us

"It's about Microsoft Excel"