Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default OFFSET() function with external references

Could the OFFSET function be used with external references ? Everything
OK when the external workbook is open, but #VALUE is returned when not.
I want OFFSET to work when the other workbook is closed.

Here is an example :

"Workbook1.xls" contains
A1 : ='BOB
B1 : ='ROGER

"Workbook2.xls" contains (with other source opened)
A1 : =OFFSET([Workbook1.xls]Sheet1!A1; 1; 0)

= Return "ROGER" when workbook1.xls is open
= Return #VALUE otherwise

Is there any workaround for this problem ? Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default OFFSET() function with external references

You should have read :

"Workbook2.xls" contains (with other source opened)
A1 : =OFFSET([Workbook1.xls]Sheet1!A1; 0; 1)

= Return "ROGER" when workbook1.xls is open
= Return #VALUE otherwise

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default OFFSET() function with external references

Why not just use

=[Workbook1.xls]Sheet1!B1

--
HTH

Bob Phillips

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

"braultg" wrote in message
oups.com...
You should have read :

"Workbook2.xls" contains (with other source opened)
A1 : =OFFSET([Workbook1.xls]Sheet1!A1; 0; 1)

= Return "ROGER" when workbook1.xls is open
= Return #VALUE otherwise



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default OFFSET() function with external references

Because I want my reference to workbook1 to be dynamic (i.e. the
referenced cell in workbook1 be dependant of a value in workbook2)


Bob Phillips wrote:
Why not just use

=[Workbook1.xls]Sheet1!B1

--
HTH

Bob Phillips

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

"braultg" wrote in message
oups.com...
You should have read :

"Workbook2.xls" contains (with other source opened)
A1 : =OFFSET([Workbook1.xls]Sheet1!A1; 0; 1)

= Return "ROGER" when workbook1.xls is open
= Return #VALUE otherwise


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
OFFSET and external workbook references Dave F[_2_] Excel Discussion (Misc queries) 3 October 25th 07 04:36 PM
OFFSET function on external sheets Raf Excel Worksheet Functions 4 August 24th 07 07:24 AM
OFFSET function returning #VALUE when using external references AndrewPace Excel Worksheet Functions 2 April 12th 06 06:37 PM
Offset References gthull644 Excel Discussion (Misc queries) 3 May 29th 05 02:06 PM
Making Address function & references as links to external files ?? dalejrstwin Excel Programming 0 April 26th 05 02:34 AM


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