OFFSET() function with external references

B

braultg

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
 
B

braultg

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
 
B

Bob Phillips

Why not just use

=[Workbook1.xls]Sheet1!B1

--
HTH

Bob Phillips

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

braultg

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 said:
Why not just use

=[Workbook1.xls]Sheet1!B1

--
HTH

Bob Phillips

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

braultg said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top