+ Reply to Thread
Results 1 to 4 of 4

How to create a hyperlink with 2 cell values?

  1. #1
    Registered User
    Join Date
    12-26-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    68

    How to create a hyperlink with 2 cell values?

    Hi community,

    I have a problem.
    I have a worksheet, A2 is arrival date and B2 is departure date.
    My goal is to replace part of an URL with the values from A2 and B2 and to create an hyperlink.
    When I click on that hyperlink it should go to the website.
    I have attached my workbook with detailed information to explain my problem.
    Any Excel Gurus out there who can help me with this?
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 for Mac OSX, 365 for windows, Windows 10 Insider
    Posts
    6,548

    Re: How to create a hyperlink with 2 cell values?

    try
    =HYPERLINK("https://www.hotel.de/Search?arrival_date="&TEXT(A2,"YYYY-MM-DD")&"&departure_date=&"&TEXT(B2,"YYYY-MM-DD")&"&number_of_persons=1&number_of_rooms=1&language=de&location_id=70801")

    may need a INDIRECT() , but seems to have formatted OK
    Attached Files Attached Files
    Wayne

    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-26-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    68

    Re: How to create a hyperlink with 2 cell values?

    Wow, thank you etaf.
    That's exactly what I am looking for.
    Thanks a lot.
    Reps on the way!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 for Mac OSX, 365 for windows, Windows 10 Insider
    Posts
    6,548

    Re: How to create a hyperlink with 2 cell values?

    you are welcome

+ 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. userfom load value txtbox hyperlink to cell and create short hyperlink
    By remco77a in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2020, 08:38 AM
  2. Auto create hyperlink based on 2 other cell values
    By verynewtovba in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2016, 05:57 AM
  3. Macro to find a word in a cell, create a transparent text zone over it, create a hyperlink
    By martin brandl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-17-2015, 03:24 PM
  4. [SOLVED] Excel 2010 Create a macro to check if cell contains hyperlink then apply hyperlink style
    By chasidar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2013, 04:48 AM
  5. Create hyperlink to folders based on values in col A
    By Biinge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2012, 03:35 PM
  6. Need to create a Macro which convert the values in a column to Hyperlink.
    By excel_001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-18-2012, 01:38 PM
  7. [SOLVED] How do I create a hyperlink to a cell with the hyperlink function
    By S. Bevins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2006, 03:06 PM

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