Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Conditional Hyperlink?

Hi everyone,

I posted this before but I don't think I had it right. So, will try
again.

Can you use "Hyperlink" with "IF" statement? For example, "if a1=1,
hyperlink F1 to AB10, otherwise leave F1 blank.
If so, how can this be written please?

Regards,
Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Conditional Hyperlink?

How about a small cheat:

This formula goes in F1:

=IF(A1=1,HYPERLINK("#AB10","Click me"),"")

When I have 2 in A1 and click on F1, I go to the precedent cell (a1).

I can change that by hyperinking to the cell with the formula:

=IF(A1=1,HYPERLINK("#AB10","Click me"),HYPERLINK("#F1",""))



Mike wrote:

Hi everyone,

I posted this before but I don't think I had it right. So, will try
again.

Can you use "Hyperlink" with "IF" statement? For example, "if a1=1,
hyperlink F1 to AB10, otherwise leave F1 blank.
If so, how can this be written please?

Regards,
Mike


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional format cell containing hyperlink JStiehl Excel Worksheet Functions 2 August 12th 09 02:05 PM
Conditional Hyperlink bearcat Excel Discussion (Misc queries) 2 August 8th 08 12:06 AM
Conditional hyperlink Archana Excel Discussion (Misc queries) 4 January 24th 07 01:01 PM
Conditional hyperlink? y_not Excel Discussion (Misc queries) 2 November 24th 05 04:02 PM
How can I use HYPERLINK in a conditional statement between sheets Mikey Excel Worksheet Functions 1 May 3rd 05 08:07 PM


All times are GMT +1. The time now is 10:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"