View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Peter Williams[_2_] Peter Williams[_2_] is offline
external usenet poster
 
Posts: 2
Default returning ranges offset from argument range function call


Concrete Example

In a clean worksheet insert insert 0 through 9 in cells A6 through A15.
Then select 2 empty cells and enter the formula =test3(2, A6:A15) hit
ctrl+shift+return

I think this should return 2 and 3 in the return cells, it returns 7 and
8.
So it is adding the distance from the start of the array to row 1 to the
offset making it 7 instead of 2. I don't understand why that is
happening.

Pete

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!