Hello,
I'm creating a very simple formula which takes cell Q11 from cell O11 and divides by 12: =(O11-Q11)/12
Next, this formula is performed in a different sheet to the cells. So, it becomes: =('Sheet2'!O11-'Sheet2'!Q11)/12
Finally, this formula is part of a template file which can be pasted into other files, so the document name becomes part of the formula: =('[Document.xlsx]Sheet2'!O11-'[Document.xlsx]Sheet2'!Q11)/12
To allow the formula to point to the document it has been pasted into, I have the current file name in cell B2 and I use an INDIRECT(CONCATENATE to point to cell B2, and then add the formula
However, although my syntax looks like it is generating the exact right text, I am getting a #VALUE! error
Below is what I currently have, I am hoping there is something obvious and silly I have overlooked like a parenthesis...
=INDIRECT(CONCATENATE("=('[",$B2,"]Sheet2'!O11")-CONCATENATE("'[",$B2,"]Sheet2'!Q11)/12"))
Bookmarks