+ Reply to Thread
Results 1 to 6 of 6

Copying formula with the same gap *Edited Post*

  1. #1
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Copying formula with the same gap *Edited Post*

    Hello,
    i had to edit this coz the 1st post was too confusing i guess :P

    the attachment has 2 sheets,
    my work on the 2nd sheet,
    it has totals linked with the 1st sheet,
    when i copy/paste the table, the formula is not paste as the same gap that i want

    please check the Yellow cells in the 2nd Sheet


    thanks in advance
    Attached Files Attached Files
    Last edited by bkcffee; 02-19-2019 at 01:09 AM.

  2. #2
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: Copying formula with the same gap *Edited Post*

    Bump.... xD

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Copying formula with the same gap *Edited Post*

    I would put it in column wise. and just copy the Sheet 2 A44:D46 to F44 and J44
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: Copying formula with the same gap *Edited Post*

    I like wt u did there,
    but sadly i cant submit it like that...

    *Manger mentality issue*


    wt about =offset?
    is there a trick that work with it ?
    Last edited by bkcffee; 02-19-2019 at 02:14 AM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Copying formula with the same gap *Edited Post*

    In 2nd Sheet
    In B44
    Please Login or Register  to view this content.
    In B46
    Please Login or Register  to view this content.
    Then both formula copied other suitable ranges.Pl see file.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 02-19-2019 at 03:59 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Copying formula with the same gap *Edited Post*

    Please try at
    B44 drag to D44
    =INDEX('1st Sheet'!B:B,INT((ROW()-1)/46)*41-5+MOD(ROW()+45,46))

    B46
    =INDEX('1st Sheet'!B:B,INT((ROW()-1)/46)*41-5+MOD(ROW()+45,46))+B40

    copy B44:D46 to B90 and B136
    Attached Files Attached Files

+ 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. Pivot Tables and Bar chart data not in order
    By RachA12 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-01-2018, 11:07 AM
  2. VBA Copying data between tables (according to criteria), Macros / Sub
    By arn0ldas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2016, 05:56 AM
  3. Replies: 0
    Last Post: 06-19-2014, 07:11 AM
  4. [SOLVED] Copying and pasting data tables with changing row counts
    By arleutwyler in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 11:14 AM
  5. Copying pivot tables as data tables with formatting
    By wolis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2012, 12:57 AM
  6. Excel Tables dynamic data copying
    By gigiw1986 in forum Excel General
    Replies: 1
    Last Post: 04-24-2010, 11:12 AM
  7. How do I set the order of calculation of Data Tables in Excel?
    By Charles Easton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2005, 07:06 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