+ Reply to Thread
Results 1 to 8 of 8

Creating a table similiar to Pivot that displays the data rather than making calculations

  1. #1
    Registered User
    Join Date
    02-12-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    9

    Creating a table similiar to Pivot that displays the data rather than making calculations

    As the title says, I am trying to create a workbook that has two pages. On the 'Data' page there will be raw data pasted in from a different report that spits out results in excel format. On the 'Results' page I want to be able to display only the pertinant information from the 'Data' page. The raw data has something like 50-60 columns (all with headers) and I only want to look at 5-6 of them. I basically want to do what a pivot table does but instead of putting out a calculation in the values part I just want it to display the actual data.

    Therefore a user could paste in the new raw data, switch the Results worksheet and sort the data by as many different parameters (values in certain columns on the raw data) as I want. Just like a pivot table. Then in the values it puts out the exact values that are in other worksheet. Example:

    'Data' work sheet laid out like this:

    Program..Theme..Contract..Aug..Sept..Oct
    AAA........BBB.......CCC.......50....60.....40
    AAB........BBC.......CCD.......30....20.....50
    AAA........BBB.......CCE.......40....10.....20
    AAB........BBC.......CCC.......20....00.....80

    On the results sheet:

    Program Here the user can select any program that shows up in the program column on the Data sheet
    Theme Here the user can select any theme that shows up in the theme column on the Data sheet

    Contract..Aug..Sept..Oct
    Blah.........xx......xx......xx Here the values for that program or theme (or both) are displayed.

    Any ideas? Thanks for the help!

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    Would creating a column in the far left of the raw data called "ID" and have a unique ID for each entry help?
    You then could make that ID the "Row labels", and any columns you wanted to have displayed can be put in the "Column Labels".
    I might not be understanding you correctly, but I think that should work.
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    02-12-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    I see what you are saying but the problem with that is the report (that provides the raw data) produces around 2500 rows per report. I want the user to just be able to copy and paste the whole excel sheet into the Data sheet without having to enter anything else. Then have the Results sheet show only certain columns (14-15 of the total 67 columns) and only show the rows with values that match the filters/searches at top.

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    Is something like this what you are looking for? Paste the report in column B, and the COUNTIF function in column A will find the rows that meet the criteria you enter in the second sheet.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-12-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    Yes that is very close to what I need, just on a much larger scale. How did you go about creating it so that it would display only the data you filtered for on the other page?

    Thanks so much!

  6. #6
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    The countif function in column A only shows a number if the criteria are met.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In basic terms, the formula above does the following: If both B3 = the selected program and c3 = the selected Theme, then add 1 to the max value in the rows above, so each match is a unique number(1,2,3,.....).
    You can then find the cells you want using INDEX & MATCH, as you have unique identifiers for each row and column.

    If it still doesn't make sense, do some research on the COUNTIFS and INDEX & MATCH functions.

  7. #7
    Registered User
    Join Date
    02-12-2013
    Location
    America
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    I think I'm following you on how to formulas work. One last question, is it possible to display all rows matching only one of the critera? Say I wanted to see all values for Program C, not just program C theme Y?

  8. #8
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Creating a table similiar to Pivot that displays the data rather than making calculati

    "Wildcards" will work.
    You could edit for the formulas so that if, for example, the theme entry cell is blank, it automatically searches for a "*", but right now it would make your formulas even more confusing, which I would avoid until you have a solid understanding of them.
    Right now, if you manually type a "*" in an entry cell, it will essentially ignore that filter.

+ 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