I have a spread sheet I have been did 2 years ago. It works, but currently I have to rename the file it gets cell values from.
I would like to automate this and produce a pointer like the following, where the year is taken from a cell in the current sheet, which is the current year subtract 1 and put that value in the string that points to the cell from which I wish to get the cell value for the current sheet.
='file:///d:/rainfall chart/rainfall previous year/rainfall chart 2024.ods'#$Sheet1.M34
I have tried to create this using concatenate with âsome textâ cell-1 âsome more textâ but I canât get it to subtract the 1 from the current year, also I get different errors with all the configurations I have tried.
The closest I get is to split the text into different cells do the math manipulation into a cell then use & , but this for some reason only gave me a text string, but did not retrieve the contents.
here is my attempt using &.
=D11&" "&D9&" "&C1-1&E11&E4
I would like to be able to do this in a one line command without splitting into multiple cells first if possible.
Any help will be appreciated.