+ Reply to Thread
Results 1 to 5 of 5

How to copy while holding one reference constant?

  1. #1
    Forum Contributor
    Join Date
    03-04-2008
    Location
    Ohio
    MS-Off Ver
    Office 2010
    Posts
    208

    How to copy while holding one reference constant?

    I'm not even sure how to describe this. But here goes. Suppose I have a formula =D$17/2, and I want to copy that to a range of cells in that column. When I copy that formula down the column, it doesn't index the column reference "D". I thought for sure that there was a way to do this, but I can't, for the life of me, remember how to do it. Basically, as I copy the formula down, I want it to index cells across the spreadsheet.

    Anyone know how to do this? I don't want to edit every single cell manually.

    Thanks,

    -gshock

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845
    gshock,


    Something like this: =$D$17/2. To keep "D" and values
    Or:
    =$D17/2 to increment 17 to 18 when formula copied down.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    You could use =INDEX($D$17:$IV$17, 1, ROW() - 17) / 2

    Adjust the constant for the row in which the formula first appears (it's correct for row 18 as shown).

  4. #4
    Forum Contributor
    Join Date
    03-04-2008
    Location
    Ohio
    MS-Off Ver
    Office 2010
    Posts
    208
    Quote Originally Posted by Charles
    gshock,


    Something like this: =$D$17/2. To keep "D" and values
    Or:
    =$D17/2 to increment 17 to 18 when formula copied down.
    Charles,

    Thanks for the suggestion. Actually, I want to do the reverse. I want to increment "D" while keeping 17 constant.

    I found a way to do what I need. I used the OFFSET command to index the cell, and it worked well. I had forgotten all about it.

  5. #5
    Forum Contributor
    Join Date
    03-04-2008
    Location
    Ohio
    MS-Off Ver
    Office 2010
    Posts
    208
    Quote Originally Posted by shg
    You could use =INDEX($D$17:$IV$17, 1, ROW() - 17) / 2

    Adjust the constant for the row in which the formula first appears (it's correct for row 18 as shown).
    shg,

    Thanks for the tip. I haven't used the INDEX command before so I'll have to play with it and see how it works. But that might be a good one to use too. Thanks for the help.

    -gshock

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1