Target Cell Address

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
334
Office Version
  1. 2013
Platform
  1. Windows
=HYPERLINK("#"&CELL("address",INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0))),$H$3)
In the above formula, C2:C3 is the range in Sheet1 in which the formula needs to match the text that exists in D4 on the current Sheet (for the purpose of this formula it is another sheet besides Sheet1 called DocumentedFiles) and then hyperlink to the address in B2:B3 that is associated with the find in C2:C3.
Obviously, the workbook this bogus workbook emulates has many more rows than just the two rows shown.
The attached Xl2bb Mini Sheets help to clarify my question as follows:
I would like to have the cells in column F on Sheet DocumentedFiles include the cell address from Bogus Sheet that the hyperlink in the cells in column F jump to.
In other words, I want cell F3 to show: Folder shown on Bogus Sheet Occupies Cell B2.
I have been tinkering with formulas all day and just cannot seem to get this little bit of data to be included.
Any help toward a positive outcome will be very much appreciated.

BogusAll_PDFs_On_F-Drive .xlsx
BCDEFGH
1Helper Column
2Sheet NameFile NameSheet Location This WorkbookFolder Location for This File This WorkbookFolder shown on
3Bogus SheetBogus File 01.pdfBogus SheetFolder shown on Bogus SheetFolder shown on Bogus Sheet
4Bogus SheetBogus File 02.pdfBogus SheetFolder shown on Bogus Sheet
DocumentedFiles
Cell Formulas
RangeFormula
E3:E4E3=$B$3
F3:F4F3=HYPERLINK("#"&CELL("address",INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0))),$H$3)
H3H3=$H$2&B3


BogusAll_PDFs_On_F-Drive .xlsx
ABCDEFG
1TypeFolderFileSizeModifiedCreatedLast Accessed
2VerifiedF:\BogusFolderBogus File 01.pdf7002/21/2014 --- 01:32:3811/06/2022 --- 21:33:5807/14/2023 --- 16:33:26
3VerifiedF:\BogusFolderBogus File 02.pdf10702/03/2012 --- 15:23:0611/06/2022 --- 21:33:4407/15/2023 --- 12:40:22
Bogus Sheet
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi @MrDB4Excel:

Instead of H3 you must repeat the search for the function Index:

Dante Amor
ABCDEF
1
2Sheet NameFile NameSheet Location This WorkbookFolder Location for This File This Workbook
3Bogus SheetBogus File 01.pdfBogus SheetF:\BogusFolder
4Bogus SheetBogus File 02.pdfBogus SheetF:\BogusFolder
DocumentedFiles
Cell Formulas
RangeFormula
E3:E4E3=$B$3
F3:F4F3=HYPERLINK("#"&CELL("address",INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0))),INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0)))




--------------
Let me know the result and I'll get back to you as soon as I can.
Cordially
Dante Amor
--------------​
 
Last edited:
Upvote 0
Solution
Hi @MrDB4Excel:

Instead of H3 you must repeat the search for the function Index:

Dante Amor
ABCDEF
1
2Sheet NameFile NameSheet Location This WorkbookFolder Location for This File This Workbook
3Bogus SheetBogus File 01.pdfBogus SheetF:\BogusFolder
4Bogus SheetBogus File 02.pdfBogus SheetF:\BogusFolder
DocumentedFiles
Cell Formulas
RangeFormula
E3:E4E3=$B$3
F3:F4F3=HYPERLINK("#"&CELL("address",INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0))),INDEX('Bogus Sheet'!$B$2:$B$3,MATCH(D3,'Bogus Sheet'!$C$2:$C$3,0)))




--------------
Let me know the result and I'll get back to you as soon as I can.
Cordially
Dante Amor
--------------​
Works perfectly, thanks DanteAmor
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,033
Members
449,092
Latest member
ikke

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