+ Reply to Thread
Results 1 to 2 of 2

TRANSPOSE function returns incorrect value when array has single value

  1. #1
    Registered User
    Join Date
    09-01-2010
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    2

    TRANSPOSE function returns incorrect value when array has single value

    Using Excel 2010. I have a table, let's call it Table_Items, which has a column called Id. Its on the second sheet of a workbook. On the first sheet of the workbook I'd like to display the values from the Id column transposed across the sheet. I know that I won't have more than 10 items in Table_Items.

    I select a range going from Column A on the first sheet all the way to column J and put in the formula
    = TRANSPOSE(Table_Items[Id])
    and hit Ctrl-Shift Return.

    When Table_Items has more than one row, it seems to work fine. For instance if Table_Items looks like this:
    Id Quantity Value
    ABC 3 2
    BDF 1 4

    I'll see the following:
    ABC BDF #NA #NA #NA #NA #NA #NA #NA #NA

    The problem is when there is only one row in the table, i.e.:
    Id Quantity Value
    ABC 3 2

    I see on the first sheet:
    ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC

    Any ideas on why Excel does this or how to get around it? I can post an example if needed but I think it can be easily reproduced.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: TRANSPOSE function returns incorrect value when array has single value

    Hi bpeikes,

    Try putting value or removing values from row 3 in the attached file and let me know if this helps...

    transpose.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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