+ Reply to Thread
Results 1 to 12 of 12

Repeat (Copy/Paste) Transpose Formula

  1. #1
    Registered User
    Join Date
    04-01-2011
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 365
    Posts
    27

    Repeat (Copy/Paste) Transpose Formula

    I receive a file in a format that requires me to transpose data. I have attached the file with 2 tabs. One called "Source Data" and another called "Desired Format".

    My question is this:

    How can I copy and paste this formula

    =TRANSPOSE('Source Data'!E2:AI2) (currently in cell I2 of "Desired Format" tab)

    so that when I paste it, 33 rows down, in the "Desired Format" tab, it increases the cell reference in the "Source Data" tab by only 1 row:

    =TRANSPOSE('Source Data'!E3:AI3) (currently in cell I33 of "Desired Format" tab)

    When I try, it comes out like this: =TRANSPOSE('Source Data'!E33:AI33)

    I apologize if this is unclear, but it is tricky to try and describe. Open to new ways of looking at this as well. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Repeat (Copy/Paste) Transpose Formula

    With Power Query essentially one command.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Power Query is a Excel tool and can be added to Excel 2010.
    Installing the Power Query Add in in Excel 2010 and 2013
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-01-2011
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 365
    Posts
    27

    Re: Repeat (Copy/Paste) Transpose Formula

    Thanks so much for your reply. Would it look like this in English?

    Please Login or Register  to view this content.
    I am getting an expression editor in Advanced Editor saying it can't find table Source Data. Thanks again.

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Repeat (Copy/Paste) Transpose Formula

    The formulas are all in English, only the "name" of the actions are in non-english and it is not relevant for the cod.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    A mistake of your cod could be found in the row bellow since a table name can not be separated by space " ".
    Source = Excel.CurrentWorkbook(){[Name="Source Data"]}[Content],
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Repeat (Copy/Paste) Transpose Formula

    Are you still using 2010, or have you got a newer version as you have spill ranges in your sheet?

  6. #6
    Registered User
    Join Date
    04-01-2011
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 365
    Posts
    27

    Re: Repeat (Copy/Paste) Transpose Formula

    I'm sorry about that, I am on 365 now. I have updated my profile with that. My apologies.

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Repeat (Copy/Paste) Transpose Formula

    Well noticed Fluff13.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Repeat (Copy/Paste) Transpose Formula

    I am on 365 now
    In that case you can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Repeat (Copy/Paste) Transpose Formula

    And for the 1st 5 columns you could use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Repeat (Copy/Paste) Transpose Formula

    Another possible 365 formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    04-01-2011
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 365
    Posts
    27

    Re: Repeat (Copy/Paste) Transpose Formula

    Thank you both, immensely for the help. Your suggestions worked out fabulously. Thanks again.

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Repeat (Copy/Paste) Transpose Formula

    Glad to help & thanks for the feedback

+ 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. [SOLVED] Macro to Repeat Copy/Transpose in a List
    By fearonc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2022, 10:38 AM
  2. VBA to Paste Special Transpose data from Table and Repeat for Each Row
    By Stormm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2021, 07:09 PM
  3. Code to write formula in 2 cells, copy, paste values, repeat next row until end of sheet
    By Oly Steel Man in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 11:13 AM
  4. [SOLVED] Copy, paste, transpose 4 cells delete and repeat
    By blarsen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2012, 01:29 AM
  5. Repeat copy and paste special (transpose)
    By Mengtzee in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-16-2012, 11:38 AM
  6. Find, Copy, Transpose, Repeat
    By siddharthariver in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2010, 06:06 PM
  7. [SOLVED] Repeat Cell Formula w/out copy/paste?
    By DTTODGG in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 01: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