Results 1 to 5 of 5

Thread: Hyperlink-IF formula

  1. #1

    Hyperlink-IF formula



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello

    Trying to create a hyperlink in B6, if C6="January" go to B74 (all in same sheet "Inventory Counts")

    =HYPERLINK(IF(C6="January",B74,""),"GO TO")

    This is not working for me...

    Please help.

    Thanks.

  2. #2
    Super Moderator NBVC's Avatar
    Join Date
    May 2011
    Location
    Mississauga, Canada
    Posts
    1,491
    Articles
    0
    Excel Version
    Excel 2016
    Try:

    =HYPERLINK("#"&IF(C6="January","B74",""),"GO TO")


  3. #3
    Hi NBVC

    Thanks for that. It worked!

    What is ("#"&IF saying in this formula.

    Thanks agin.

    Quote Originally Posted by NBVC View Post
    Try:

    =HYPERLINK("#"&IF(C6="January","B74",""),"GO TO")

  4. #4
    Super Moderator NBVC's Avatar
    Join Date
    May 2011
    Location
    Mississauga, Canada
    Posts
    1,491
    Articles
    0
    Excel Version
    Excel 2016
    With hyperlink you usually require a path to where the cell to link to is... the # allows you to say that the cell is in the same workbook and in this case also the same sheet.
    If it was in another sheet of the same workbook, then it would look something like this:


    =HYPERLINK("#'Sheet B'!"&IF(C6="January","B74",""),"GO TO")


  5. #5
    Once again, thanks for all your help and actually teaching me!

    Cheers.

Posting Permissions

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