[Solved] Using 'OFFSET' and 'ROW' to copy every nth cell

Discuss the spreadsheet application
Post Reply
snoop911
Posts: 2
Joined: Thu Apr 17, 2014 2:54 am

[Solved] Using 'OFFSET' and 'ROW' to copy every nth cell

Post by snoop911 »

I'm transitioning from Excel, so haven't quite figured out all the subtle nuances between the programs. For example, in Excel the following works fine to list every 9th element onto an adjacent column:

=OFFSET($A$2, (ROW()-2)*9,0)

Where I have data starting in A2 down to A90002, with this formula pasted in B2 down to B10002

Unfortunately using the setup in Calc, I get an Err:508.

Seems pretty straighforward, but not matter how I try to manipulate it, I get this error. Are these functions not exactly equivalent in functionality as the ones in excel?

Update:
Thanks acknak that worked perfectly!
Last edited by snoop911 on Fri Apr 18, 2014 5:34 am, edited 1 time in total.
OpenOffice 3.1 + WinXp 32-bit (Mostly) + Win7 64-bit (Seldom)
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Using 'OFFSET' and 'ROW' to copy every nth cell

Post by acknak »

So close.

Try =OFFSET($A$2;(ROW()-2)*9;0)
AOO4/LO5 • Linux • Fedora 23
Post Reply