Consulting

Results 1 to 5 of 5

Thread: Getting around Pivot Table 256 Col Limitation

  1. #1
    VBAX Regular
    Joined
    Dec 2007
    Posts
    76
    Location

    Getting around Pivot Table 256 Col Limitation

    Hi,

    I'm accessing an external text file using a pivot table from excel but the number of columns is exceeding the 256 Column Limit in excel. Like many, I don't have the latest version.

    Does anyone know a way to show more than 256 columns for example, showing pivot table or even a static copy of results of the pivot table in multiple sheets?

    I've seen macros that let you import more than 65K row limit but importing the data across multiple sheets, was just wondering if there is anything similar for columns and results from a pivot table.

    The columns/Fields in the source file are:

    1) Date
    2) Code
    3) Price
    4) Volume
    5) Discount

    And my pivot table is arranged as Row: Date, Column: Code, Main Body:Price. So my codes exceed 256, there are around 650 codes. Once I have the data in this format, I don't need to modify it anymore so I was thinking if there was a way to show say the first 256 codes, copy the results onto another sheet and then show then next 256 etc.

    Hope someone can provide some advice.

    Thanks

    Hamond

  2. #2
    VBAX Tutor
    Joined
    Nov 2007
    Posts
    228
    Location
    Hi there,

    Would it be easier to transpose your rows and columns;

    have your current row headers as columns and the column data as rows.

    Marshybid

  3. #3
    VBAX Regular
    Joined
    Dec 2007
    Posts
    76
    Location
    Hi Marshybid,

    I wish it was that easy but I have even more dates than codes (up to 10,000) so the number of columns would still exceed 256.

    Hamond

  4. #4
    VBAX Tutor
    Joined
    Nov 2007
    Posts
    228
    Location
    Quote Originally Posted by Hamond
    Hi Marshybid,

    I wish it was that easy but I have even more dates than codes (up to 10,000) so the number of columns would still exceed 256.

    Hamond
    Hi Hamond,

    Can you post an example workbook. I have been doing a lot of work with Pivot Tables recently and may be able to suggest something, but I need to see what you are trying to sort.

    Marshybid

  5. #5
    VBAX Regular
    Joined
    Dec 2007
    Posts
    76
    Location
    Hi,

    I've attached an example. The worksheet "Source" contains the raw data and the Pivot Sheet contains the pivot table with the feilds transposed currently showing the data for 255 codes only versus the 516 in the source sheet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •