+ Reply to Thread
Results 1 to 20 of 20

Transpose function limitation Excel 2016 and less

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Transpose function limitation Excel 2016 and less

    Hi,

    I would like to ask you about transpose limitations.
    It is a function which i am often use while outputting data from dictionary or array.

    In Excel less than 2016 there was an error where array variable exceed 255 characters.
    Can anybody confirm that in Excel 2016 the problem is solved?

    In my case on Office 2016 the code below is working like a charm:

    Please Login or Register  to view this content.
    for 2013 i do not think so.
    So bug was fixed?

    And what about number of rows limit, how to avoid this error?
    Link: link

    and the most important question - how to replace transpose function?

    Please discuss,
    Best,
    Jacek

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,755

    Re: Transpose function limitation Excel 2016 and less

    Have you looked at using Power Query to do your Transpositions? It is relatively quick and easy and does not require any VBA coding.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    You could simply loop and populate another transposed array. Unless you're dealing with very large amounts of data (in which case you should probably rethink whatever you are doing that requires all this transposing), there shouldn't be too much of a performance hit as it's all in memory.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    hi alansidman,

    thank you i like power query.

    hi RoryA,

    Ok but question is about limitations - can anybody confirm that formula above is working in Excel 2016?
    For it is but it should throw an error because of 255 character limit.

    Best,
    Jacek

  5. #5
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,293

    Re: Transpose function limitation Excel 2016 and less

    jarysek - definitely fixed in excel 2016 - works properly

  6. #6
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    great!

    thank you.

    Jacek

  7. #7
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    Hmmm,

    what is:

    Column width

    255 characters??

    https://support.office.com/en-us/art...7-269d656771c3

    This is not for transpose function?

    JacekScreenshot_10.png

  8. #8
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    No, it's to do with the maximum width of a column.

  9. #9
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    thank you!

    Jacek

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Transpose function limitation Excel 2016 and less

    OK, then can you just test this code and read the message?
    Please Login or Register  to view this content.
    It shows 1 on xl2013.

  11. #11
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    Hi jindon,

    it is also showing 1 on xl2016.

    Best,
    Jacek

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Transpose function limitation Excel 2016 and less

    Thanks, it still has such limitation then...

  13. #13
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    Thanks, it still has such limitation then...
    why 1 is telling this? What does it mean?

  14. #14
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    IIRC it only works properly when applied to a range, not an array. I reported it as a bug ages ago but I suspect it wasn't deemed a big deal.

  15. #15
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Transpose function limitation Excel 2016 and less

    Transpose only works properly when Upper bound is equal or less than 2 ^ 16 = 65536.
    Problem of this is NO ERROR...
    Please Login or Register  to view this content.

  16. #16
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    You're still applying it to an array (since you're using the value property), not directly to the range. You may also need to use Worksheetfunction.Transpose.

  17. #17
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    So if you are applying transpose to range it will work without any problems and limitations, am i understanding this correctly?

    Jacek

  18. #18
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    In some versions, maybe. Not something I would generally rely on.

  19. #19
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Transpose function limitation Excel 2016 and less

    thank you Rory,

    so what does it mean?

    IIRC it only works properly when applied to a range
    Jacek

  20. #20
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,015

    Re: Transpose function limitation Excel 2016 and less

    "If I recall correctly".

+ 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. Creating an IF function in excel 2016
    By xdvtsh123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2019, 03:21 AM
  2. Replies: 8
    Last Post: 10-27-2018, 02:23 PM
  3. [SOLVED] Lookup Dictionary Transpose Limitation
    By hnguy71 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2018, 04:18 AM
  4. [SOLVED] VBA function not refreshing Excel 2016
    By maxwelln1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2018, 04:38 AM
  5. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  6. Ms Excel 2016 IF function
    By tryhyper in forum Excel General
    Replies: 9
    Last Post: 08-13-2016, 08:08 PM
  7. Transpose-Is there a similar limitation for XP?
    By ojv in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2005, 09:06 AM

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