Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DawnS
 
Posts: n/a
Default OFFSET command and linked documents

I am currently using the OFFSET command to jump from one column to the
next if I increase the number in Cell A2:-


=OFFSET('[Time 05.xls]Act 05'!$D$57,0,$A$2-1)


What this does is returns the value in D57, if number 1 is in cell A2.
If I change the number in cell A2 to 2, it returns the value in E57,
etc.


The problem I have is that it is linked to another spreadsheet and if I
don't have the other spreadsheet open it returns a #VALUE. Thought I
could get round this by using INDEX, but can't quite work out how this
works. Can anyone help?



  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=INDEX('[Time 05.xls]Act 05'!$D$57:$IV$57,$A$2)

Hope this helps!

In article ,
"DawnS" wrote:

I am currently using the OFFSET command to jump from one column to the
next if I increase the number in Cell A2:-


=OFFSET('[Time 05.xls]Act 05'!$D$57,0,$A$2-1)


What this does is returns the value in D57, if number 1 is in cell A2.
If I change the number in cell A2 to 2, it returns the value in E57,
etc.


The problem I have is that it is linked to another spreadsheet and if I
don't have the other spreadsheet open it returns a #VALUE. Thought I
could get round this by using INDEX, but can't quite work out how this
works. Can anyone help?

  #3   Report Post  
DawnS
 
Posts: n/a
Default

Great - worked. Thanks.

"Domenic" wrote:

Try...

=INDEX('[Time 05.xls]Act 05'!$D$57:$IV$57,$A$2)

Hope this helps!

In article ,
"DawnS" wrote:

I am currently using the OFFSET command to jump from one column to the
next if I increase the number in Cell A2:-


=OFFSET('[Time 05.xls]Act 05'!$D$57,0,$A$2-1)


What this does is returns the value in D57, if number 1 is in cell A2.
If I change the number in cell A2 to 2, it returns the value in E57,
etc.


The problem I have is that it is linked to another spreadsheet and if I
don't have the other spreadsheet open it returns a #VALUE. Thought I
could get round this by using INDEX, but can't quite work out how this
works. Can anyone help?


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



All times are GMT +1. The time now is 12:42 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"