Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default linking spreadsheet nightmare


Here is another look at what I am trying to do may be some one can se
my error
It returns #NAME? error

You link a cell something like this =D17 which will bring back th
value in Row 17 Column D

You can bring back a row number like this =ROW(D17) which returns th
value 17

You can also bring back a ROW number with addition example I want RO
17 but I am on ROW 1 so =(ROW(D1)+16) would return 17

So here I am... Lets skip 60 at a time starting on row 2. I want to b
able to keep the Column D

=((ROW(D2)-1)*60) = ((2)-1)*60) = 60

How can I say this =D((ROW(D2)-1)*60) (where D is the Column and th
ROW formula is the row number) which is bacially =D60 from above.

Why do I need this. Now all I need to do is copy the code to the nex
line and it will automatically copy D120 then D180 then D24
......etc.

Thanks for any idea's I will keep working on the macro study

--
newbie_hel
-----------------------------------------------------------------------
newbie_help's Profile: http://www.excelforum.com/member.php...fo&userid=1507
View this thread: http://www.excelforum.com/showthread.php?threadid=26708

  #2   Report Post  
Posted to microsoft.public.excel.programming
HTv HTv is offline
external usenet poster
 
Posts: 2
Default linking spreadsheet nightmare

If I understand your problem right, you coud try to change to R1C1 reference
style.


newbie_help skrev:


Here is another look at what I am trying to do may be some one can see
my error
It returns #NAME? error

You link a cell something like this =D17 which will bring back the
value in Row 17 Column D

You can bring back a row number like this =ROW(D17) which returns the
value 17

You can also bring back a ROW number with addition example I want ROW
17 but I am on ROW 1 so =(ROW(D1)+16) would return 17

So here I am... Lets skip 60 at a time starting on row 2. I want to be
able to keep the Column D

=((ROW(D2)-1)*60) = ((2)-1)*60) = 60

How can I say this =D((ROW(D2)-1)*60) (where D is the Column and the
ROW formula is the row number) which is bacially =D60 from above.

Why do I need this. Now all I need to do is copy the code to the next
line and it will automatically copy D120 then D180 then D240
......etc.

Thanks for any idea's I will keep working on the macro study.


--
newbie_help
------------------------------------------------------------------------
newbie_help's Profile: http://www.excelforum.com/member.php...o&userid=15076
View this thread: http://www.excelforum.com/showthread...hreadid=267087


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default linking spreadsheet nightmare

I think you want:

=INDIRECT("R"&(ROW(D2)-1)*60&"C4",FALSE)
or
=INDIRECT("d"&((ROW(D2)-1)*60))

The first one uses =indirect() in R1C1 style and the second use A1 reference
style.

(This is a formula entry difference--it won't matter if you're in R1C1 or A1
reference style (via tools|options|General Tab).)






newbie_help wrote:

Here is another look at what I am trying to do may be some one can see
my error
It returns #NAME? error

You link a cell something like this =D17 which will bring back the
value in Row 17 Column D

You can bring back a row number like this =ROW(D17) which returns the
value 17

You can also bring back a ROW number with addition example I want ROW
17 but I am on ROW 1 so =(ROW(D1)+16) would return 17

So here I am... Lets skip 60 at a time starting on row 2. I want to be
able to keep the Column D

=((ROW(D2)-1)*60) = ((2)-1)*60) = 60

How can I say this =D((ROW(D2)-1)*60) (where D is the Column and the
ROW formula is the row number) which is bacially =D60 from above.

Why do I need this. Now all I need to do is copy the code to the next
line and it will automatically copy D120 then D180 then D240
.....etc.

Thanks for any idea's I will keep working on the macro study.

--
newbie_help
------------------------------------------------------------------------
newbie_help's Profile: http://www.excelforum.com/member.php...o&userid=15076
View this thread: http://www.excelforum.com/showthread...hreadid=267087


--

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
Linking 2 spreadsheet using data from the last row of spreadsheet Mike Excel Discussion (Misc queries) 13 February 11th 09 10:48 AM
Linking 2 spreadsheet using data from 1st spreadsheet vennesse Excel Discussion (Misc queries) 1 February 11th 09 10:43 AM
Linking spreadsheet mrc1986 via OfficeKB.com Excel Worksheet Functions 0 October 6th 08 08:16 PM
linking spreadsheet nightmare newbie_help[_2_] Excel Programming 1 October 8th 04 12:28 AM
linking spreadsheet nightmare newbie_help Excel Programming 1 October 7th 04 01:00 AM


All times are GMT +1. The time now is 11:33 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"