Selecting Every 37th Row in LibreOffice Using OFFSET Function

  • Thread starter Thread starter Yaste
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
The discussion revolves around using the OFFSET function in LibreOffice to select every 37th row from a specified column of data. A user expresses frustration after spending hours trying to find a solution that works for their version of LibreOffice. The proposed method involves creating a helper column with multiples of 35 to identify the desired rows. The OFFSET function is then used to reference these rows for output. The solution provided is confirmed to be effective for the user's needs.
Yaste
Messages
10
Reaction score
0
I'm trying to use the OFFSET function in libreoffice to copy every 37th row in a given column but I am unable to do it. I've lost the last 3 hours searching all over the internet and the given answers don't seem to work on my libre-office! I'm seriously getting pissed here.

So, let's say I have a huge column of data. For example, I have data going from H5 to H2000. I want to select every 35th value. That is, I want the H40, H75, H110, so forth and so on. How do I go about doing that?
 
Computer science news on Phys.org
Here's what I came up with:

Set up a column with N, 2xN, 3xN... values in consecutive cells. These are the Nth values to take from your base data column. So just put 35 (or whatever you need) in the first row, 2x35 in the next one, and drag the two down to fill as many as you need.

Set a column for your output values with the first cell:
OFFSET ($H$5;Q1;0)
Drag the first OFFSET function down.
e.g.:
Capture.PNG

Taking every second value from the A column and displaying it in the C column.
(the function displayed is OFFSET, just in another language)
Does this work?
 
  • Like
Likes Yaste
@Bandersnatch thank you. That does work :P
 
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top