+ Reply to Thread
Results 1 to 4 of 4

How to Give Hyperlink link to cell based on if statement

  1. #1
    Registered User
    Join Date
    03-10-2022
    Location
    turkey
    MS-Off Ver
    2012
    Posts
    14

    How to Give Hyperlink link to cell based on if statement

    Hello

    I want to give hyperlink to cell when user fill the cell and also with if statement.
    Here is the what ı mean;


    İf not column A and row (i) not null and column B row (i) is "1234" give hyperlink like as "C:\Users\DELL\Desktop"+"B(i)" to column C and row (i)
    Untitled.jpg

  2. #2
    Registered User
    Join Date
    03-10-2022
    Location
    turkey
    MS-Off Ver
    2012
    Posts
    14

    Re: How to Give Hyperlink link to cell based on if statement

    =IF(AND(A1<>"";B1="1234");HYPERLINK("C:\Users\DELL\Desktop"+A1;C1");"")

    There is 2 error with this code;
    First couldn't add suffix to hyperlinks and the other C1 is already filled so how to use filled text.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,666

    Re: How to Give Hyperlink link to cell based on if statement

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    03-10-2022
    Location
    turkey
    MS-Off Ver
    2012
    Posts
    14

    Re: How to Give Hyperlink link to cell based on if statement

    I solved it but just on step left how to use Row C value as a hyperlınk name

    =IF(AND(A1<>"";B1="a");HYPERLINK("C:\Users\DELL\Downloads"&A1&".bat";C1);"")

    Here is the sample file.;
    New Microsoft Excel ?alışma Sayfası.xlsx

+ 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. Formula cell needed -> link to variable external link based on a cell content
    By milea_sorin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-22-2018, 10:00 AM
  2. Replies: 1
    Last Post: 08-19-2016, 08:41 AM
  3. [SOLVED] Use IF statement to change hyperlink based on contents of another cell
    By OwenMcH in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-24-2014, 10:32 AM
  4. Replies: 1
    Last Post: 04-03-2014, 05:24 AM
  5. Replies: 20
    Last Post: 03-19-2011, 09:13 AM
  6. Get link out of hyperlink cell
    By suffix in forum Excel General
    Replies: 3
    Last Post: 08-27-2006, 05:07 PM
  7. [SOLVED] link to a hyperlink cell
    By J. in forum Excel General
    Replies: 5
    Last Post: 03-01-2005, 11:08 PM

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