+ Reply to Thread
Results 1 to 2 of 2

Dragging (copying) a formula and having cells referenced in formula be spaced differently

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    Corvallis, OR
    MS-Off Ver
    Excel 2003
    Posts
    1

    Dragging (copying) a formula and having cells referenced in formula be spaced differently

    I am trying to create a spreadsheet where in one column I have 2 simple formulas that reference two cells in another column. The problem I am running into is I am trying to drag (copy) the formulas sequentially (aka the formulas will alternate every other cell in the column so A1 will have formula X, A2 will have formula Y, A3 will have formula X, A4 will have formula Y....etc) while the cells that I need to reference for the formulas are not in the same order. They are spaced differently than the cells in the formulas are. I have attached a sample spreadsheet with my problem. Any help would be appreciated.

    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-29-2012
    Location
    Indianapolis
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Dragging (copying) a formula and having cells referenced in formula be spaced differen

    Put this code into a new module in the vba editor. Edit the formulas that you need. Then select the first cell where you need the formula to appear and run this macros.

    Please Login or Register  to view this content.
    --------------
    http://refreshdata.net

+ 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