+ Reply to Thread
Results 1 to 3 of 3

Dragging down to copy function situation

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    31

    Dragging down to copy function situation

    You know how in excel how when you right a formula in A1 and then drag it down across several rows it will change all the reference cells by 1 for each row it goes across.

    Example: My formula is,

    =MATCH(A2,Additions!A1:A125,0)

    When you drag it down to copy it to the next row it turns into,

    =MATCH(A3,Additions!A2:A126,0)

    I want it to be after dragging down to the next row to be,

    =MATCH(A3,Additions!A1:A125,0)

    Anybody know a way to do that?

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Dragging down to copy function situation

    Hello,

    Please try this formula
    Please Login or Register  to view this content.
    If you add "$" to both side of a column letter, like $A$1, it will not change if you drag it horizontally or vertically.
    If it's only on the left side, like $A1, you can drag it vertically but NOT horizontally (down and up but not left and right)
    Similarly, A$1 can only be dragged horizontally (left and right), not vertically (up and down)

    Hope this help.
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  3. #3
    Registered User
    Join Date
    01-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    31

    Re: Dragging down to copy function situation

    Nice. I didn't know about the $ symbol being used for this. That solves my problem. Thanks.

+ 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