Conditional Formating problem

doug.sloane

New Member
Joined
Jun 18, 2002
Messages
13
Hi

I have 2 columns A & B. I want the 2 columns to be blank until something is typed into a cell in column A. Then I want the corresponding cell in column b to be a url such as "http:\www.abc.comsearch=" & A1.content

I'm using the following on the B cell but can't get it to work :
=IF(A1="","",("http://www.abc.com/guestSearch.asp?search=" & A7 &"&name=hello" & A7))

Also if possible I'd like the contents of column B to be protected.

This is fairly urgent (well for me, obviously not for ye lot) so any help would be much appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
On 2002-08-06 04:18, doug.sloane wrote:
Hi

I have 2 columns A & B. I want the 2 columns to be blank until something is typed into a cell in column A. Then I want the corresponding cell in column b to be a url such as "http:www.abc.comsearch=" & A1.content

I'm using the following on the B cell but can't get it to work :
=IF(A1="","",("http://www.abc.com/guestSearch.asp?search=" & A7 &"&name=hello" & A7))

Also if possible I'd like the contents of column B to be protected.

This is fairly urgent (well for me, obviously not for ye lot) so any help would be much appreciated.

Have a look at the HYPERLINK worksheet function.
 
Upvote 0
OK Sorry about that - the A7 reference is misleading. The first part is now working - when you type something in say A1 the URL appears in B1 with the text from A1 included in the address. It's not however appearing as a link that you can click on. When I put the HYPERLINK() around the IF statement it does create a link from B1 but the url does not appear in the cell for some reason.

I appreciate your time on this bythe way.
 
Upvote 0
It's working now with :

IF(A1="","",HYPERLINK("http://www.whatever.com/expo/script.asp?search=" & A1 &"&login=snap" & A1))

Thanks
 
Upvote 0
You can incorporate the HYPERLINK function thus:

=IF(A1="","",HYPERLINK("http://www.abc.com/guestSearch.asp?search=" & A1 &"&name=hello" & A1))
 
Upvote 0
On 2002-08-06 06:02, doug.sloane wrote:
OK Sorry about that - the A7 reference is misleading. The first part is now working - when you type something in say A1 the URL appears in B1 with the text from A1 included in the address. It's not however appearing as a link that you can click on. When I put the HYPERLINK() around the IF statement it does create a link from B1 but the url does not appear in the cell for some reason.

I appreciate your time on this bythe way.

Give an example of what can be in A1. And, indicate literally how the link should look like with that value in A1.
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top