+ Reply to Thread
Results 1 to 3 of 3

Looping an index transposing formula

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2033
    Posts
    2

    Exclamation Looping an index transposing formula

    Hi,

    I am trying to take my data and transpose (loop?) every 18 cells into a seperate Row. I have gotten it to transpose a single set of what I need, but haven't been able to get further then that. Any help would be much appreciated. I have never used excel VBA before, so I am trying to do it all by indexing. I am using Excel 2013 - but I tend to use .xls so others can use the file.

    I have gotten this far: =INDEX($E$2:$E$6068, COLUMNS(G$2:G2)*18-18+COLUMNS($G2:G2))

    Thanks!
    Attached Files Attached Files
    Last edited by poetgirl916; 04-22-2013 at 01:54 PM. Reason: Solved!!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Looping an index transposing formula

    You were almost there. Just add *ROW(A1)

    =INDEX($D$2:$D$6068, COLUMNS(F$2:F2)*18*ROW(A1)-18+COLUMNS($F2:F2))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2033
    Posts
    2

    Re: Looping an index transposing formula

    Thank you - your suggestion worked.

+ 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