Cell address issue

trev1234

New Member
Joined
Mar 13, 2021
Messages
13
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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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