Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default problem using the INDIRECT function

I would like to use the INDIRECT function to look at a cell on a different
sheet to my formula. I can get this to work fine if I enter the following
formula;

=INDIRECT("'Reference Sheet'!D4") (as my second sheet is called Reference
Sheet)

However, to get the 'D4' part of the formula I am using the following formula;

=("D"&(ROW(D3)+(MATCH(C13,'Reference Sheet'!D3:$D$55,0))))

So I put the formulae together to get;

=INDIRECT("'Reference Sheet'!"D"&(ROW(D3)+(MATCH(C13,'Reference
Sheet'!D3:$D$55,0)))")

But this gives an error and highlights "D", so I removed the "" and then the
#REF! error appeared.

I have tried using brackets and inverted commas in different places but i
can't seem to get the formula to work.

Any suggestions would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default problem using the INDIRECT function

=INDIRECT("'Reference Sheet'!D"&(ROW(D3)+(MATCH(C13,'Reference
Sheet'!D3:$D$55,0))))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
I would like to use the INDIRECT function to look at a cell on a different
sheet to my formula. I can get this to work fine if I enter the following
formula;

=INDIRECT("'Reference Sheet'!D4") (as my second sheet is called Reference
Sheet)

However, to get the 'D4' part of the formula I am using the following

formula;

=("D"&(ROW(D3)+(MATCH(C13,'Reference Sheet'!D3:$D$55,0))))

So I put the formulae together to get;

=INDIRECT("'Reference Sheet'!"D"&(ROW(D3)+(MATCH(C13,'Reference
Sheet'!D3:$D$55,0)))")

But this gives an error and highlights "D", so I removed the "" and then

the
#REF! error appeared.

I have tried using brackets and inverted commas in different places but i
can't seem to get the formula to work.

Any suggestions would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default problem using the INDIRECT function

Excellent, Thanks very much Bob.

"Bob Phillips" wrote:

=INDIRECT("'Reference Sheet'!D"&(ROW(D3)+(MATCH(C13,'Reference
Sheet'!D3:$D$55,0))))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"hot dogs" wrote in message
...
I would like to use the INDIRECT function to look at a cell on a different
sheet to my formula. I can get this to work fine if I enter the following
formula;

=INDIRECT("'Reference Sheet'!D4") (as my second sheet is called Reference
Sheet)

However, to get the 'D4' part of the formula I am using the following

formula;

=("D"&(ROW(D3)+(MATCH(C13,'Reference Sheet'!D3:$D$55,0))))

So I put the formulae together to get;

=INDIRECT("'Reference Sheet'!"D"&(ROW(D3)+(MATCH(C13,'Reference
Sheet'!D3:$D$55,0)))")

But this gives an error and highlights "D", so I removed the "" and then

the
#REF! error appeared.

I have tried using brackets and inverted commas in different places but i
can't seem to get the formula to work.

Any suggestions would be appreciated.




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
INDIRECT function do not work when other file is closed starguy Excel Discussion (Misc queries) 4 May 12th 06 06:57 PM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Function INDIRECT emilija Excel Worksheet Functions 6 April 28th 06 05:21 PM
Using INDIRECT in INDEX(LINEST.. ) function Incoherent Excel Worksheet Functions 4 January 10th 06 04:42 PM
Using the Indirect function with a sheet number instead of a sheet name JDB Excel Worksheet Functions 5 December 31st 05 03:03 PM


All times are GMT +1. The time now is 12:06 PM.

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"