Cell address issue

trev1234

New Member
Joined
Mar 13, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi,
can someone please help me with the below formula, I am after just the cell reference but the result also brings through the name of the workbook and worksheet, any help would be great

=CELL("address",INDEX(INDIRECT("'" &$A2&"'!f2:z10"),MATCH($C2,INDIRECT("'" & $A2 & "'!e2:e10"),0),MATCH($D2,INDIRECT("'" & $A2 & "'!f1:z1"),0)))
Excel Formula:

result
'[Copy of Absence Spreadsheet (002).xlsm]January'!$V$4

thanks
trev
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

trev1234

New Member
Joined
Mar 13, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
found the answer :)

=TRIM(RIGHT(SUBSTITUTE(CELL("address",INDEX(INDIRECT("'" &$A2&"'!f2:z10"),MATCH($C2,INDIRECT("'" & $A2 & "'!e2:e10"),0),MATCH($D2,INDIRECT("'" & $A2 & "'!f1:z1"),0))),"$",REPT(" ",100),1),100))
 
Solution

Forum statistics

Threads
1,136,969
Messages
5,678,890
Members
419,787
Latest member
juanam

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
Top