+ Reply to Thread
Results 1 to 3 of 3

How to transpose a bidimenional array

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    50

    How to transpose a bidimenional array

    Hello guys,
    Simply, I have a bidimenional array myArr(r,c) and I want to restructurate it so that to have the transpose of it : myArr(c,r). Is it possible without any loop ? For example, instead of myArr(3,10) I would like to have the same information but reversing these two dimensions: myArr(10,3). Thanks in advance.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: How to transpose a bidimenional array

    Use transpose

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-08-2012
    Location
    Bucharest, Romania
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: How to transpose a bidimenional array

    Thank you Bob,
    Indeed using myArr = WorksheetFunction.Transpose(myArr) we have the same array with its dimensions reversed.

+ 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