Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Adding consistant cells.

Trying to add from one sheet to another without clicking on each cell.
EX:
Sheet 1 Cell A1 = Sheet 2 Cell A1
Sheet 1 Cell A2 = Sheet 2 Cell A20
Sheet 1 Cell A3 = Sheet 2 Cell A40 etc etc.
How can i do this, to drag down on sheet 1 so I get the above results on
sheet 2.
Is there a formula to add lines not quantity?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Adding consistant cells.

Use this in A1 of Sheet1
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

It will give you A1, A21,A41 from Sheet2 when copied down..

If you really want A1,A20,A40 then
use
=Sheet1!A2 in A1 of sheet1
and
=INDIRECT("sheet2!A"&((ROW()-1)*20))
in A2 and copy down


"dpal" wrote:

Trying to add from one sheet to another without clicking on each cell.
EX:
Sheet 1 Cell A1 = Sheet 2 Cell A1
Sheet 1 Cell A2 = Sheet 2 Cell A20
Sheet 1 Cell A3 = Sheet 2 Cell A40 etc etc.
How can i do this, to drag down on sheet 1 so I get the above results on
sheet 2.
Is there a formula to add lines not quantity?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Adding consistant cells.

Sheeloo not quite clear.
What is the A for after Sheet 2!. Do I type this in. Also do I put a Row
number in the () after row.
I tried with and it comes up ## REf. and without it comes to 0 but when I
drag down it doesn't seem to work. Is it me?

Thanks for your help.

"Sheeloo" wrote:

Use this in A1 of Sheet1
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

It will give you A1, A21,A41 from Sheet2 when copied down..

If you really want A1,A20,A40 then
use
=Sheet1!A2 in A1 of sheet1
and
=INDIRECT("sheet2!A"&((ROW()-1)*20))
in A2 and copy down


"dpal" wrote:

Trying to add from one sheet to another without clicking on each cell.
EX:
Sheet 1 Cell A1 = Sheet 2 Cell A1
Sheet 1 Cell A2 = Sheet 2 Cell A20
Sheet 1 Cell A3 = Sheet 2 Cell A40 etc etc.
How can i do this, to drag down on sheet 1 so I get the above results on
sheet 2.
Is there a formula to add lines not quantity?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Adding consistant cells.

Enter it exactly as shown...
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

Let us assume you entered it in A3 on Sheet1
ROW() will give you 3 (third row)
(ROW()-1)*20 will give your 40 ... 3-1 multiplied by 20
"sheet2!A"&(((ROW()-1)*20)+1) will give you the string Sheett2!A40

So Indirect() will get the address Sheett2!A40 and will return the value
there...

"dpal" wrote:

Sheeloo not quite clear.
What is the A for after Sheet 2!. Do I type this in. Also do I put a Row
number in the () after row.
I tried with and it comes up ## REf. and without it comes to 0 but when I
drag down it doesn't seem to work. Is it me?

Thanks for your help.

"Sheeloo" wrote:

Use this in A1 of Sheet1
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

It will give you A1, A21,A41 from Sheet2 when copied down..

If you really want A1,A20,A40 then
use
=Sheet1!A2 in A1 of sheet1
and
=INDIRECT("sheet2!A"&((ROW()-1)*20))
in A2 and copy down


"dpal" wrote:

Trying to add from one sheet to another without clicking on each cell.
EX:
Sheet 1 Cell A1 = Sheet 2 Cell A1
Sheet 1 Cell A2 = Sheet 2 Cell A20
Sheet 1 Cell A3 = Sheet 2 Cell A40 etc etc.
How can i do this, to drag down on sheet 1 so I get the above results on
sheet 2.
Is there a formula to add lines not quantity?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Adding consistant cells.

Got it
Thanks

"Sheeloo" wrote:

Enter it exactly as shown...
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

Let us assume you entered it in A3 on Sheet1
ROW() will give you 3 (third row)
(ROW()-1)*20 will give your 40 ... 3-1 multiplied by 20
"sheet2!A"&(((ROW()-1)*20)+1) will give you the string Sheett2!A40

So Indirect() will get the address Sheett2!A40 and will return the value
there...

"dpal" wrote:

Sheeloo not quite clear.
What is the A for after Sheet 2!. Do I type this in. Also do I put a Row
number in the () after row.
I tried with and it comes up ## REf. and without it comes to 0 but when I
drag down it doesn't seem to work. Is it me?

Thanks for your help.

"Sheeloo" wrote:

Use this in A1 of Sheet1
=INDIRECT("sheet2!A"&(((ROW()-1)*20)+1))

It will give you A1, A21,A41 from Sheet2 when copied down..

If you really want A1,A20,A40 then
use
=Sheet1!A2 in A1 of sheet1
and
=INDIRECT("sheet2!A"&((ROW()-1)*20))
in A2 and copy down


"dpal" wrote:

Trying to add from one sheet to another without clicking on each cell.
EX:
Sheet 1 Cell A1 = Sheet 2 Cell A1
Sheet 1 Cell A2 = Sheet 2 Cell A20
Sheet 1 Cell A3 = Sheet 2 Cell A40 etc etc.
How can i do this, to drag down on sheet 1 so I get the above results on
sheet 2.
Is there a formula to add lines not quantity?

Thanks



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
Why aren't my colors consistant on my pie chart? MillMom Charts and Charting in Excel 1 January 14th 09 04:58 PM
Deleting a consistant portion of all cells in a given column clock Excel Worksheet Functions 4 July 6th 07 08:54 PM
Macro not consistant Don Guillett Excel Discussion (Misc queries) 4 November 21st 06 10:44 PM
Macro not consistant grok Excel Discussion (Misc queries) 6 November 21st 06 09:27 PM
consistant cell format Daivedo Excel Discussion (Misc queries) 0 March 22nd 06 11:00 PM


All times are GMT +1. The time now is 12:58 PM.

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"