Apr 2019
9:24am, 12 Apr 2019
111,863 posts
|
GregP
Hello. The answer to this might well be that it cannae be done but...
Can I "indirect" to a cell in a sheet who's name has spaces in it? I can't get it to work.
|
Apr 2019
9:26am, 12 Apr 2019
35,856 posts
|
Diogenes
Quicker to rename the sheet?
|
Apr 2019
9:29am, 12 Apr 2019
111,864 posts
|
GregP
Not an option. ExcelForum has it covered though:
=INDIRECT("'"&A2&"'!a1")
|
Apr 2019
9:33am, 12 Apr 2019
260 posts
|
Sam Jelfs
Put the sheet name in a cell and reference that cell in your indirect.
A1: Target Sheet B1: =indirect("'"&A1&"'!B2'")
Will return cell B2 on sheet "Target Sheet"
|
Apr 2019
9:37am, 12 Apr 2019
111,865 posts
|
GregP
Yep - it was the quotes I was missing. If your sheets are called things like AllTheFetchies then
=INDIRECT(A2&"!a1")
would work
but not if the sheet was called All The Fetchies
|
Apr 2019
10:30am, 12 Apr 2019
41,900 posts
|
GlennR
Spaces are a curse. Iām not disciplined enough to eliminate them completely though.
|
Apr 2019
10:45am, 12 Apr 2019
3,885 posts
|
Curly45
Underscores are the answer š
|
Apr 2019
11:00am, 12 Apr 2019
41,904 posts
|
GlennR
Of course, and if you name ranges Excel puts them in for you.
|
Apr 2019
2:04pm, 12 Apr 2019
3,886 posts
|
Curly45
For me I use underscores by habit as you cant find documents/files so easily using the terminal if they have spaces in the file names...
|
Apr 2019
3:22pm, 25 Apr 2019
42,112 posts
|
GlennR
I'm going to assume that everybody else knew how to changes signs in Excel but didn't tell me?
Enter -1 into any free field. highlight it and copy. Select the range you want to change the sign of. Right click, point to paste special and choose Paste Special. In the new dialog Paste All and apply Operation Multiplication. OK - all numbers have their sign changed.
Feel free to point and laugh.
|