Wikipedia:Reference desk/Archives/Computing/2018 May 13

= May 13 =

Age-tracking spreadsheet
I would like to make a spreadsheet like this. The date cell is in date format and then the cells below show people's ages at different years. I'm having trouble figuring out what to put in the cells and make it start from around 2008. Please help if you know. Many thanks!!!

Anna Frodesiak (talk) 23:48, 13 May 2018 (UTC)

It's in Open Office, by the way. Anna Frodesiak (talk) 00:04, 14 May 2018 (UTC)


 * Let's say the first number is in cell B5. Go to cell B6 and input  then click the cell's bottom right corner and drag downwards until you have enough rows. Repeat for each column. Alternatively, let's say the first year is in B5, and the rest go to B6, B7 etc., and you've put the birth year in C4. Then you can do what I said for the B column, while for the C column, put   and click+drag. The   is an absolute reference and ensures that the reference to the fourth row never changes (so you effectively get B6-C4, B7-C4, B8-C4 etc. in following cells). When you put the absolute reference to $B, you can even drag it sideways to create other columns for other people's birth years without having to change anything. See  for a longer explanation of absolute references. This is for LibreOffice on Linux (Open Office doesn't exist anymore). For Calligra you need to shift+click. 93.139.26.207 (talk) 02:47, 14 May 2018 (UTC)


 * Thank you kindly. Actually, I know that part. It is making a cell show an age using the cell that shows the date of birth. That's what has me stumped. Best, Anna Frodesiak (talk) 04:02, 14 May 2018 (UTC)


 * ...thanks to coffee and blind luck. Anna Frodesiak (talk) 06:09, 14 May 2018 (UTC)


 * I would suggest ditching OpenOffice in favour of LibreOffice  (which isn't a big change, generally).  AFAIK (and this was certainly true when I shifted), OpenOffice only supports the A1, B2 notation from Lotus 1-2-3 for referencing other cells.  Excel also supported the R1C1 notation. This was enough of a drawback that I used to pay to use Excel (and was thus locked into Windows), just for this one feature.  LibreOffice though supports both.
 * The difference is that the syntax for relative referencing is far easier to manage with R1C1. Andy Dingley (talk) 08:45, 14 May 2018 (UTC)


 * Thanks . Thanks, Andy. LibreOffice sounds good and I just may give that a try. Best wishes, Anna Frodesiak (talk) 06:15, 15 May 2018 (UTC)