+ Reply to Thread
Results 1 to 14 of 14

Hyperlink dragging

  1. #1
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Hyperlink dragging

    Hi all,

    I have a small problem

    I want to drag this hyperlink:

    =HYPERLINK("G:\2010-2011\Time Table 2010 - 2011.xlsx - 'Lecture Hours'!B7", "6")

    Horizontally with B7 changing to B8, B9, B10 etc...

    and "6" to change to "7", "8", "9" etc...

    is it possible?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    Maybe?:

    =HYPERLINK("G:\2010-2011\Time Table 2010 - 2011.xlsx - 'Lecture Hours'!B"&COLUMNS($A$1:G$1), COLUMNS($A$1:F$1))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    No it still not working! Can you look at the file attached?
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    Did the formula work as it stood?

  5. #5
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    no it still didn't work! Are you understanding what I am trying to do? I want to link the calendar to the day in the lecture hours worksheet

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    I understand what you want to do, but wanted to know if the original formula you posted worked for you before I posted by suggestion?

  7. #7
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    any ideas how I can tackle it? It only works cell by cell using the wizard

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    Try:

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    it works but can you explain it to me pls?what is columns referring to?

  10. #10
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    how can i do the second row as still i can't understand it

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    COLUMNS() is a function that counts how many columns are between two cell references.

    So I am basically using that as a counter to determine "the number" of interest as I copy across

    COLUMNS($A$1:G$1) equals 7 because there are 7 columns between A1 and G1

    and COLUMNS($A$1:F$1) equals 6 because there are 6 columns between A1 and F1.

    When we drag this over one cell they turn to:

    COLUMNS($A$1:H$1) and COLUMNS($A$1:G$1), respectivel for 8 and 7, respectively.

    The $ freezes the column or row reference... so you will note that there is no $ in front of the second cell reference in the range... this is so that as we copy across only that column letter is allowed to change, allowing for the incremental count.

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    In the second row you would start with:

    COLUMNS($A$1:M$1) and COLUMNS($A$1:L$1),

  13. #13
    Registered User
    Join Date
    12-10-2009
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Hyperlink dragging

    10x a lot! I didn't knew this!

  14. #14
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Hyperlink dragging

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1