+ Reply to Thread
Results 1 to 3 of 3

Pivot Table Problem

  1. #1
    Registered User
    Join Date
    12-16-2010
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Pivot Table Problem

    Dear list

    I have attached a Excel 2003 spreadsheet which has data in columns A...F.

    Col B and C are evaluated with multiple IF's and the results placed in E and F.

    Ultimately there will be data from rounds 1...6 and I have only shown Rounds 5 & 6 in the sample attached. I have hand assembled the data in yellow and purple into the green area.

    I can use a PIVOT TABLE to accomplish the sorting as per the green shaded data BUT can't get the actual col data into the table - a function of how the pivot works.

    My question is can someone suggest how a PIVOT TABLE can be constructed which does not count/sum..etc the data, since that would seem to solve the problem.

    Any suggestions / ideas as to how this could be solved would be appreciated.

    Steve
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pivot Table Problem

    A pivot table won't work as you have correctly identified it works with "summation" of numbers...

    If you list your unique lab_id in column I as you did (you can use advanced filter to get unique list) and then list the Round numbers in Row 2 as you did (except you should only show the number (5) instead of "Round 5"), then you can use a formula in J4 like:

    Please Login or Register  to view this content.
    copied down and across.

    Make sure you don't use ranges that are much larger than you actually need as this is a bit of a resource intensive formula.

    A much better way would be to add a helper column with formula:

    Please Login or Register  to view this content.
    copied down alongside your database.

    Then use formula in J4:

    Please Login or Register  to view this content.
    copied down and across, where column G contains the concatenated helper column
    Last edited by NBVC; 12-16-2010 at 10:27 AM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-16-2010
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Pivot Table Problem

    Dear NBVC

    Thanks v much, certainly solves the problem

    Two small questions
    1) When there isn't a match ie there are no results in 6 but were in 6, the value #N/A is inserted. Is there a way to insert N/A without the # or some other text all at the same time or is it easier to just do a Find and Replace

    2) Can you either provide a brief explanation of your code using INDEX and MATCH or can you point me somwhere I can get a good explanation

    Once again thanks v much
    Steve

+ 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