+ Reply to Thread
Results 1 to 8 of 8

Drag Paste a formula in reverse.

  1. #1
    Registered User
    Join Date
    05-18-2015
    Location
    Pretoria South Africa
    MS-Off Ver
    2011
    Posts
    5

    Drag Paste a formula in reverse.

    Good day
    I have this formula
    =SUMIFS('GC-2016-06-17'!$J$2:$J$361,'GC-2016-06-17'!$G$2:$G$361,">="&'Money Tracker 2016-06-20'!Q$1,'GC-2016-06-17'!$G$2:$G$361,"<="&'Money Tracker 2016-06-20'!Q$2)
    I would like to left drag paste it, and keep everything as it, except my Q1 & Q2 must NOT become P1 & P2, I want it to become R1 and R2.

    Thus, drag paste in "reverse"? From Cell N8 to Cell M8, L8, K8, J8, I8, etc

    Hope this is clear enough and that some very clever excel fundi can help me please?

    Thx

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Drag Paste a formula in reverse.

    So as your formula is copied left you want the references to advance to the right?
    Dave

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

    Re: Drag Paste a formula in reverse.

    Hello cng,

    Welcome to the forum

    Try this formula then
    Please Login or Register  to view this content.
    Post it in Column Q, if you drag it left or right from Q, Q1 and Q2 will only go forward to the right to R1 R2, S1 S2, etc.

    All I did was replacing 'Money Tracker 2016-06-20'!Q$1 with INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(1,17+ABS(17-COLUMN()),4)) (Similar for Q2)
    (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

  4. #4
    Registered User
    Join Date
    05-18-2015
    Location
    Pretoria South Africa
    MS-Off Ver
    2011
    Posts
    5

    Re: Drag Paste a formula in reverse.

    Hi Dave, yes sort of.
    I want to keep my entire formula the same and just change Q1 to R1, S1 etc but by copying it to the left.

  5. #5
    Registered User
    Join Date
    05-18-2015
    Location
    Pretoria South Africa
    MS-Off Ver
    2011
    Posts
    5

    Re: Drag Paste a formula in reverse.

    Thanx Lem, I tried this, but maybe I am just in over my head, it does not work...
    I am not GREAT with excel... I just want it to count up when I left copy instead of down. I copied your INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(1,17+ABS(17-COLUMN()),4)) (Similar for Q2) it still won't work.

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

    Re: Drag Paste a formula in reverse.

    Try to paste

    ="'Money Tracker 2016-06-20'!"&ADDRESS(1,17+ABS(17-COLUMN()),4)

    In Q10 or something, and drag it left / right then, it should work (just to confirm that part)

    Probably I messed it up for Q2, so use this formula instead

    =SUMIFS('GC-2016-06-17'!$J$2:$J$361,'GC-2016-06-17'!$G$2:$G$361,">="&INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(1,17+ABS(17-COLUMN()),4)),'GC-2016-06-17'!$G$2:$G$361,"<="&INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(2,17+ABS(17-COLUMN()),4)))
    Last edited by Lemice; 06-20-2016 at 04:45 AM.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Drag Paste a formula in reverse.

    If you starting in Column N try

    in N8

    =SUMIFS('GC-2016-06-17'!$J$2:$J$361,'GC-2016-06-17'!$G$2:$G$361,">="&INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(1,16+ABS(15-COLUMNS($A:N)),4)),'GC-2016-06-17'!$G$2:$G$361,"<="&INDIRECT("'Money Tracker 2016-06-20'!"&ADDRESS(2,16+ABS(15-COLUMNS($A:N)),4)))

  8. #8
    Registered User
    Join Date
    05-18-2015
    Location
    Pretoria South Africa
    MS-Off Ver
    2011
    Posts
    5

    Re: Drag Paste a formula in reverse.

    Thank you Dave, This worked perfectly! Fantastic!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula will not drag down or work with copy/paste
    By Victoria G in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-09-2015, 07:36 AM
  2. Copying the Data in reverse by using Formula/Paste Special
    By Venkata Krishna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2014, 07:28 AM
  3. Replies: 6
    Last Post: 04-04-2013, 02:02 PM
  4. Replies: 2
    Last Post: 05-07-2012, 05:36 AM
  5. Reverse Drag or Mass Chane to Formula
    By dmurray9133 in forum Excel General
    Replies: 3
    Last Post: 08-07-2011, 09:05 PM
  6. How to drag/paste formula on looong spreadsheet.
    By mud_shark in forum Excel General
    Replies: 3
    Last Post: 01-15-2010, 02:00 AM
  7. [SOLVED] In Excel: add a Paste-Special Option to paste IN REVERSE ORDER.
    By stan-the-man in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-14-2006, 03:15 PM

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