Find furthest right hyperlink

SPACKlick

New Member
Joined
Apr 27, 2011
Messages
28
Hi there, I have a register of items that sometimes get updated, the register is stored as

From row 9:how ever many hundreds of items we have

Columns A:E
Data about the item that does not change with new revisions

Column F
Current Revision

Columns G:Z
Revisions in order (ie if there had been 8 revisions
'-, A, B, C, D, E, F, G) (with higher revisions left blank)
each of which is hyperlinked to the relevant file for that revision.

What I would like is a forumla in Column F that will print 1) the letter of the highest revision (Revisions are always sequential)
2) Will hyperlink the column F to the correct revision...

I used to know how to do the first half of this formula but the spreadsheet got tinkered with and now I can't remember how to do it.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
EDIT: Found an old version of the document which is laid out very slightly differently, which has the following function in it "=IF(E9="","", IF(G9="", "/", INDIRECT(ADDRESS(ROW(F9), COUNTA(G9:Z9)+6,1,1))))"
Is this the best way to do it?

and still no hyperlinking.
 
Last edited:
Upvote 0
With excel 2007 or newer

=IF(E9="","",IFERROR(LOOKUP("Z",G9:Z9),"/"))

Are you able to use VBA? I don't think you will be able to copy the link without using it.
 
Upvote 0
If you can,

Code:
Function GetAddress(HyperlinkCell As Range)
    GetAddress = HyperlinkCell.Hyperlinks(1).Address
End Function

Then use the formula

=IF(E9="","",IF(G9="","/",HYPERLINK(GetAddress(INDEX(G9:Z9,COUNTA(G9:Z9))),LOOKUP("Z",G9:Z9))))
 
Upvote 0

Forum statistics

Threads
1,224,211
Messages
6,177,162
Members
452,762
Latest member
manuha

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