Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
maperalia
 
Posts: n/a
Default Array Offset Function

I have the following formula that offset values from the "Loop 4" sheet. This
formula allows me to offset values every three columns from the same row
(17). Therefore, this is what I have typed in my cells to call this data:
=OFFSET('Loop 4'!AM$17,0,3)
=OFFSET('Loop 4'!AM$17,0,6)
=OFFSET('Loop 4'!AM$17,0,9)
=OFFSET('Loop 4'!AM$17,0,12)
=OFFSET('Loop 4'!AM$17,0,15)
..........
..........
..........
..........
=OFFSET('Loop 4'!AM$17,0,60)

However, I was given 1000 more values under the "Loop 4" sheet. I have
started adding these functions manually in each cells because I could not
array the function to change the column number (every three value) only.
I wonder if anybody knows the way to do it array this function so I do not
have to do manually.

Thanks in advance.
Maperalia

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Array Offset Function

Try something like this:

=OFFSET('Loop 4'!AM$17,0,ROWS($17:17)*3)

Copy that formula down as many cells as you need.

CAVEAT: Check how many column you'll need. XL2002 only has 256. Your
comment about 1000 more values would exceed that limit.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"maperalia" wrote:

I have the following formula that offset values from the "Loop 4" sheet. This
formula allows me to offset values every three columns from the same row
(17). Therefore, this is what I have typed in my cells to call this data:
=OFFSET('Loop 4'!AM$17,0,3)
=OFFSET('Loop 4'!AM$17,0,6)
=OFFSET('Loop 4'!AM$17,0,9)
=OFFSET('Loop 4'!AM$17,0,12)
=OFFSET('Loop 4'!AM$17,0,15)
.........
.........
.........
.........
=OFFSET('Loop 4'!AM$17,0,60)

However, I was given 1000 more values under the "Loop 4" sheet. I have
started adding these functions manually in each cells because I could not
array the function to change the column number (every three value) only.
I wonder if anybody knows the way to do it array this function so I do not
have to do manually.

Thanks in advance.
Maperalia

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
maperalia
 
Posts: n/a
Default Array Offset Function

Ron;
Thanks you very much IT IS WORKING PERFECTLY!!!!!!!!

Best regards.
Maperalia

"Ron Coderre" wrote:

Try something like this:

=OFFSET('Loop 4'!AM$17,0,ROWS($17:17)*3)

Copy that formula down as many cells as you need.

CAVEAT: Check how many column you'll need. XL2002 only has 256. Your
comment about 1000 more values would exceed that limit.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"maperalia" wrote:

I have the following formula that offset values from the "Loop 4" sheet. This
formula allows me to offset values every three columns from the same row
(17). Therefore, this is what I have typed in my cells to call this data:
=OFFSET('Loop 4'!AM$17,0,3)
=OFFSET('Loop 4'!AM$17,0,6)
=OFFSET('Loop 4'!AM$17,0,9)
=OFFSET('Loop 4'!AM$17,0,12)
=OFFSET('Loop 4'!AM$17,0,15)
.........
.........
.........
.........
=OFFSET('Loop 4'!AM$17,0,60)

However, I was given 1000 more values under the "Loop 4" sheet. I have
started adding these functions manually in each cells because I could not
array the function to change the column number (every three value) only.
I wonder if anybody knows the way to do it array this function so I do not
have to do manually.

Thanks in advance.
Maperalia

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
Complicated Index Match Offset function Bob Excel Worksheet Functions 6 September 5th 05 03:01 PM
Code to determine if a cell contains an array function? [email protected] Excel Discussion (Misc queries) 1 August 29th 05 10:35 PM
Troubles with the OFFSET function ghostrider Excel Worksheet Functions 6 June 1st 05 05:20 PM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
OFFSET and array formulae Wazooli Excel Discussion (Misc queries) 3 January 20th 05 12:09 AM


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