Referencing Previous Spreadsheet

cpupartsplz

New Member
Joined
Oct 18, 2006
Messages
14
Hello,

I searched the forum for a similar problem and am very close to what I need, but not exactly there yet...

My spreadsheets are titled: "0", "1", "2", "3"...
I enter a value in K1 in "0".
I would like K1 in "1" to be (=0!K1 + 1)
I would like K1 in "2" to be (=1!K1 + 1)
etc...

There was a similar post on Yahoo! Answers and somebody suggested...
=INDIRECT("'Sheet "& VALUE(RIGHT( MID(CELL("filename"), SEARCH("]", CELL("filename"))+1,256), 2)) -1 &"'!A1")

Which I modified to...
=INDIRECT("'"& VALUE(RIGHT( MID(CELL("filename"), SEARCH("]", CELL("filename"))+1,256), 2)) +1 &"'!K1")

This almost works, but is off by 1...
When I change the "+1" at the end to "+0" or "-0" or take it out completely, it returns an error.
When I change the "+1" to "-1" it returns the original value in 0!K1.

Any ideas to off-set it just 1?

Thanks!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,226,497
Messages
6,191,372
Members
453,655
Latest member
lasvegasbuffet

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top