Display another cell formula sheet name

bakarken

Board Regular
Joined
Sep 23, 2016
Messages
50
Office Version
  1. 2019
Platform
  1. Windows
Hi guys

This might be an impossible question, but anything is worth a go.

I would like for one cell, say B1, to show the sheet name of a formula reference that, say A1, is linked to. Probably best if I show this in an example.

If cell A1 formula: ='Sheet2'!C3 then B1 would say 'Sheet2'

If cell A1 formula: ='Sheet3'!C7 then B1 would say 'Sheet3'

These are just examples of course, I basically want certain cells to show the sheet reference of another cell, to cross reference work automatically.

I would love to know a formula for this, but not interested in a VBA.

Can anyone help?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I've realised that is because I am using Excel 2010, which does not seem to have access to FORMULATEXT :(
 
Upvote 0
Ah, OK - it's useful to state which version you are using if not the most recent. In that case, you will probably need to use VBA, and I can't help you with that - sorry.
 
Upvote 0
try this

=REPLACE(CELL("filename",A1),1,FIND("]",CELL("filename",A1)),"")
 
Upvote 0
Thank you, but unfortunately this only returned the sheet name of the sheet that the formula was posted from (in my examples, it returns 'Sheet1' instead of 'Sheet2')
 
Upvote 0
sorry, should read your request properly.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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