Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raf Raf is offline
external usenet poster
 
Posts: 13
Default OFFSET function on external sheets

Hello,

I use the OFFSET function in workbook1, with a reference in workbook2.
When I open only workbook1 (without opening workbook2) it does not give me a
result but only a #Value.
Does not matter ig I chose "update" or "do not update".
As soon as Workbook2 is open, the results shows...

I have no problem of that kind with the lookup function...

I there any way to solve this ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default OFFSET function on external sheets

There are some functions that don't work with closed workbooks. =offset() is
one of them.

Maybe you could use =index() instead?????

Raf wrote:

Hello,

I use the OFFSET function in workbook1, with a reference in workbook2.
When I open only workbook1 (without opening workbook2) it does not give me a
result but only a #Value.
Does not matter ig I chose "update" or "do not update".
As soon as Workbook2 is open, the results shows...

I have no problem of that kind with the lookup function...

I there any way to solve this ?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default OFFSET function on external sheets

"Dave Peterson" wrote...
There are some functions that don't work with closed workbooks. =offset()
is one of them.

....

More specifically, functions that either require particular arguments be
range references or return range references can't work with closed
workbooks. OFFSET requires both: its 1st argument must be a range reference,
and it returns a range reference. Excel evaluates external references into
closed workbooks as either scalar (single) values or arrays, not as range
references in Excel's strict working definition of 'range'.

Some of the others are INDIRECT (always returns range reference), RANK (2nd
arg must be range reference, no matter what its online help says), COUNTIF
(1st arg must be range reference), SUMIF (1st and optional 3rd args must be
range references), CELL (optional 2nd arg must be range reference).


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raf Raf is offline
external usenet poster
 
Posts: 13
Default OFFSET function on external sheets

INDEX helped. Thank you for the explanation as well so I stop looking for
what was wrong

"Dave Peterson" skrev:

There are some functions that don't work with closed workbooks. =offset() is
one of them.

Maybe you could use =index() instead?????

Raf wrote:

Hello,

I use the OFFSET function in workbook1, with a reference in workbook2.
When I open only workbook1 (without opening workbook2) it does not give me a
result but only a #Value.
Does not matter ig I chose "update" or "do not update".
As soon as Workbook2 is open, the results shows...

I have no problem of that kind with the lookup function...

I there any way to solve this ?


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raf Raf is offline
external usenet poster
 
Posts: 13
Default OFFSET function on external sheets

Thank you for the details, especially regarding other formulas with the same
requirements. You solved my SUM.IF problemed befor it appeared.

"Harlan Grove" skrev:

"Dave Peterson" wrote...
There are some functions that don't work with closed workbooks. =offset()
is one of them.

....

More specifically, functions that either require particular arguments be
range references or return range references can't work with closed
workbooks. OFFSET requires both: its 1st argument must be a range reference,
and it returns a range reference. Excel evaluates external references into
closed workbooks as either scalar (single) values or arrays, not as range
references in Excel's strict working definition of 'range'.

Some of the others are INDIRECT (always returns range reference), RANK (2nd
arg must be range reference, no matter what its online help says), COUNTIF
(1st arg must be range reference), SUMIF (1st and optional 3rd args must be
range references), CELL (optional 2nd arg must be range reference).



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
using offset function garwoos Excel Worksheet Functions 3 July 19th 07 10:31 PM
OFFSET function returning #VALUE when using external references AndrewPace Excel Worksheet Functions 2 April 12th 06 06:37 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
inserting sheets into existing workbooks w/o external references spence Excel Worksheet Functions 3 December 19th 05 04:33 PM
offset function LA Excel Worksheet Functions 10 April 19th 05 09:11 AM


All times are GMT +1. The time now is 03:00 PM.

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"