Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Copying down numbers in a formula

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Copying down numbers in a formula

Use the $ symbol in front of any number or letter you do not want to
increment.

Row(A1) Relative reference
Row($A$1) Absolute Reference
Row($A1) combination
Row(A$1) combination
--
HTH...

Jim Thomlinson


"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Copying down numbers in a formula

Hello,

There's a few ways of doing what you want. When you create the numbers in
the first place, if you enter 1 in the first cell and 2 in an adjacent cell,
you can highlight both and drag the fill handle to create incrementing
numbers. If you are using the row function you need to highlight the numbers
and copy them, choose a cell to paste to and righ-click (or from the Edit
menu), select Paste Special and choose Values.
--
Hope this helps,
MarkN


"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Copying down numbers in a formula

I understand. I want a relative reference when pulling down, and an absolute
reference when copying and pasting. My question is whether or not this is
possible.

Thanks,

"Jim Thomlinson" wrote:

Use the $ symbol in front of any number or letter you do not want to
increment.

Row(A1) Relative reference
Row($A$1) Absolute Reference
Row($A1) combination
Row(A$1) combination
--
HTH...

Jim Thomlinson


"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Copying down numbers in a formula

The problem is, the 1 and 2... are behind and = sign. The drag does not have
the desired effect.

"MarkN" wrote:

Hello,

There's a few ways of doing what you want. When you create the numbers in
the first place, if you enter 1 in the first cell and 2 in an adjacent cell,
you can highlight both and drag the fill handle to create incrementing
numbers. If you are using the row function you need to highlight the numbers
and copy them, choose a cell to paste to and righ-click (or from the Edit
menu), select Paste Special and choose Values.
--
Hope this helps,
MarkN


"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Copying down numbers in a formula

I re-thought this, and I think this is what I really need:

I need the result of part of my formula to be recognized as a reference by
the rest of the formula. The inside part of formula looks like this:
=(FLOOR(((ROW()-1)/27),1)+1)*27-26

Essentially, I want E1 for 27 rows, E28 for 27 rows, E55 for 27 rows...

So, I want =$E1, but instead of the "1" part, I want
(FLOOR(((ROW()-1)/27),1)+1)*27-26

This would help alot.

Thanks,

"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

Thanks,

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 100
Default Copying down numbers in a formula

Found it: =INDIRECT("E"&(FLOOR(((ROW()-1)/27),1)+1)*27-26)
Unfortunantly, I have to be careful not to delete or insert any rows, or I
have to update the 27s and 26 in the formula. Plus it looks like it is
volatile, which I'm told slows down calculations. Is that true? Before I
change everything, it takes around 2 seconds to calculate, which is slow
enough already...I wouldn't want to make it worse.

Thanks,

"sb1920alk" wrote:

I re-thought this, and I think this is what I really need:

I need the result of part of my formula to be recognized as a reference by
the rest of the formula. The inside part of formula looks like this:
=(FLOOR(((ROW()-1)/27),1)+1)*27-26

Essentially, I want E1 for 27 rows, E28 for 27 rows, E55 for 27 rows...

So, I want =$E1, but instead of the "1" part, I want
(FLOOR(((ROW()-1)/27),1)+1)*27-26

This would help alot.

Thanks,

"sb1920alk" wrote:

I have a formula that has the number 1 in it. When I copy down (pull) I would
like the 1 to increase to 2, 3... with each row I pull it down, but if I copy
and paste I would like it to remain 1 regardless of where I paste it. Is
there a way to do this?

ROW(A1) works for copying (pulling) down but it also adjusts when I copy and
paste and I don't want it to.

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
copying a formula Robb27 Excel Discussion (Misc queries) 1 June 17th 06 03:11 AM
Copying formula with cell reference decreasing automatically mworth01 Excel Discussion (Misc queries) 8 April 21st 06 08:59 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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

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

About Us

"It's about Microsoft Excel"