PC Review


Reply
Thread Tools Rate Thread

changing the name of a hyperlink cell when copied

 
 
=?Utf-8?B?QlJPQ0s4Mjky?=
Guest
Posts: n/a
 
      20th Sep 2007
i have a hyperlink formula that will adjust when i copy it to the cell below
it
=hyperlink("#"&cell("address",sheet1!a1),"stk001")
stk001 is the name of the hyperlink cell in a1
when i copy this down the page the range adjusts but the cell name doesnt
change
i need it to change to stk002, stk003, etc.
can anybody help
thank you
brock
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      20th Sep 2007
If you're formulas are starting in row 1:

=HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&TEXT(ROW(),"000"))

If you were starting in row 5, you could use:
=HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&TEXT(ROW()-4,"000"))



BROCK8292 wrote:
>
> i have a hyperlink formula that will adjust when i copy it to the cell below
> it
> =hyperlink("#"&cell("address",sheet1!a1),"stk001")
> stk001 is the name of the hyperlink cell in a1
> when i copy this down the page the range adjusts but the cell name doesnt
> change
> i need it to change to stk002, stk003, etc.
> can anybody help
> thank you
> brock


--

Dave Peterson
 
Reply With Quote
 
=?Utf-8?B?RmFyaGFk?=
Guest
Posts: n/a
 
      20th Sep 2007
Hi,

Try this:

=HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&REPT("0",3-LEN(ROW()))&ROW())

be aware that this formula works if you are entering this formula in the
first row of your sheet as the first row formula otherwise you have to make 1
with row() in the formula for example if you want to enter this formula as
the first row formula in the row 10 you sould change the formula as follow:
=HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&REPT("0",3-LEN(ROW()-9))&ROW()-9) so you can copy drag down formula to where ever you need

Thanks,
--
Farhad Hodjat


"BROCK8292" wrote:

> i have a hyperlink formula that will adjust when i copy it to the cell below
> it
> =hyperlink("#"&cell("address",sheet1!a1),"stk001")
> stk001 is the name of the hyperlink cell in a1
> when i copy this down the page the range adjusts but the cell name doesnt
> change
> i need it to change to stk002, stk003, etc.
> can anybody help
> thank you
> brock

 
Reply With Quote
 
=?Utf-8?B?QlJPQ0s4Mjky?=
Guest
Posts: n/a
 
      20th Sep 2007
thanx guys
dave you were very helpful as always
and farhad your solution works as well
thank you both for responding so quickly


"Farhad" wrote:

> Hi,
>
> Try this:
>
> =HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&REPT("0",3-LEN(ROW()))&ROW())
>
> be aware that this formula works if you are entering this formula in the
> first row of your sheet as the first row formula otherwise you have to make 1
> with row() in the formula for example if you want to enter this formula as
> the first row formula in the row 10 you sould change the formula as follow:
> =HYPERLINK("#"&CELL("address",Sheet1!A1),"stk"&REPT("0",3-LEN(ROW()-9))&ROW()-9) so you can copy drag down formula to where ever you need
>
> Thanks,
> --
> Farhad Hodjat
>
>
> "BROCK8292" wrote:
>
> > i have a hyperlink formula that will adjust when i copy it to the cell below
> > it
> > =hyperlink("#"&cell("address",sheet1!a1),"stk001")
> > stk001 is the name of the hyperlink cell in a1
> > when i copy this down the page the range adjusts but the cell name doesnt
> > change
> > i need it to change to stk002, stk003, etc.
> > can anybody help
> > thank you
> > brock

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
add hyperlink without changing the cell formating John Microsoft Excel Programming 6 24th Sep 2011 01:00 PM
Conditional formatting changing relative when copied to other cell =?Utf-8?B?cm9iYmlu?= Microsoft Excel Worksheet Functions 1 5th Sep 2007 11:36 PM
Hyperlink copied as simple text in PPT2007 rather than Hyperlink =?Utf-8?B?QkFCQQ==?= Microsoft Powerpoint 4 29th Mar 2007 06:14 PM
How to remove Hyperlink without changing cell format? =?Utf-8?B?SkFC?= Microsoft Excel Worksheet Functions 1 20th Jan 2006 07:08 PM
Changing the Hyperlink in a cell Michael Kintner Microsoft Excel Programming 2 24th Oct 2003 09:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 AM.