+ Reply to Thread
Results 1 to 14 of 14

Hyperlink to TODAY date in a range

  1. #1
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Exclamation Hyperlink to TODAY date in a range

    Hi there,

    I have a range of dates and I wanted to have a Hyperlink to TODAY date in the range, the dates are in rows not columns.
    It works for searching in a column but not in a range.

    I don't want to use VBA cause the file will be on SharePoint and codes will not work there!

    I have attached a sample what works, mean it can search for today in column that has a range of dates.
    Attached Files Attached Files
    Last edited by BassemCh; 12-02-2021 at 01:04 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Hyperlink to TODAY date in a range

    It works for searching in a column but not in a range.
    WHAT works? What is 'it'?

    I do not have an example to attach.
    Can't you knock up a quick sample?

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    I have uploaded a sample, thank you.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    This does it:

    =HYPERLINK("#"&SUBSTITUTE(ADDRESS(1,MATCH(B1,3:3,0),4),1,"")&3,"Find Today")

    see file. The bit in red relates to the row number in which the dates are to be found.
    Last edited by Glenn Kennedy; 12-02-2021 at 12:28 PM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    That works perfectly for dates in a row! Thank you @Glenn.

    Is there any other way to find dates on multiple rows? Because in my sheet I have dates on multiple rows and not just one.

    Thanks again for help, I appreciate it.
    Attached Files Attached Files
    Last edited by BassemCh; 12-02-2021 at 12:41 PM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    Time to mock up another sheet to SHOW me what you mean....

  7. #7
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    Right! I have uploaded another sample, using your suggested solution and it can finds TODAY on row 5, but the sheet have dates on more than one row.
    Please have a look at the example. Thank you
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    Mmmm. One quick Q. What is in between the date rows? More dates, or what??

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    If it's more dates, is there some way of telling WHICH date rows are to be used? If it's numbers, can any of the numbers be the same as the dates (today being 44532, as for as Excel is concerned...)?

  10. #10
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    In between the dates rows, there are only letters as "A" P" Absent or Present. it is kind a daily Attendance sheet and it is a long sheet that's why I need a hyperlink to jump to the today in the list.

    So in between the dates rows there are only letters.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    OK. I overwrote =TODAY() in B1 for testing. Jus entering random dates.

    =HYPERLINK("#"&ADDRESS(MAX(IF(B$5:$X$9=B1,ROW(B$5:$X$9))),MAX(IF(B$5:$X$9=B1,COLUMN(B$5:$X$9))),4,,),"Find today")

    You seem to be using an older version of Excel than me. So, please refer to the attached file. If the formulae are enclosed within a pair of { }, these are array formulae.

    These are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see the curly brackets { } appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    Oh that's great! Your solution works perfectly.

    Thanks a lot.

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Hyperlink to TODAY date in a range

    However, if you find managing array formulae a pain in the @$$, here is a non-array version:

    =HYPERLINK("#"&ADDRESS(AGGREGATE(15,6,ROW(B$5:$X$9)/(B$5:$X$9=B1),1),AGGREGATE(15,6,COLUMN(B$5:$X$9)/(B$5:$X$9=B1),1),4,,),"Find today")
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    12-17-2020
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Hyperlink to TODAY date in a range

    Cool! thanks again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Hyperlink to Today's Date
    By Maid1812 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-29-2020, 08:57 AM
  2. [SOLVED] Jump to Today's Date with hyperlink or Macro
    By Crawfy in forum Excel General
    Replies: 8
    Last Post: 04-05-2017, 05:04 PM
  3. Enter today date on other sheet from hyperlink
    By unley in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-09-2017, 03:36 AM
  4. [SOLVED] Hyperlink to today's date
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2016, 10:41 AM
  5. [SOLVED] Hyperlink to today's date
    By Trebor777 in forum Excel General
    Replies: 10
    Last Post: 09-07-2016, 11:59 AM
  6. Highlight a date range if today's date falls within that range
    By sdarnell in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2014, 10:03 AM
  7. [SOLVED] Hyperlink to jump to today's date
    By marcimarc in forum Excel General
    Replies: 3
    Last Post: 12-19-2013, 10:31 AM

Tags for this Thread

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