+ Reply to Thread
Results 1 to 4 of 4

Pivot Table or Not?

  1. #1
    Registered User
    Join Date
    10-07-2008
    Location
    Calgary
    Posts
    2

    Pivot Table or Not?

    I'm relatively new to pivot tables and am trying to figure out if a pivot table is the way to go for a report I need to create. I've attached a simplified version of sample data and desired output.

    1. I need a count/sum of all "true" cases for each name for each date of occurance. (and to include dates with no data like Jan 5)

    2. I need a count of unique names occuring for each company for each date.

    3. I need to do a logical test on each name based on the number of occurances over the date range.

    The input data will be 1000's of lines long and will be updated monthly. The names and dates appearing in the data will vary from month to month but the format of the input data will stay consistent except for length. I will need to generate reports that show daily for a month, and monthly for a year.

    Is a pivot table the way to go, or am I asking it for more than it was designed and need to build something more complex from scratch?

    Any advice would be aprreciated.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi and welcome to the forum

    Is the attached something you can work with?

    Regards
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-07-2008
    Location
    Calgary
    Posts
    2
    Thanks for the reply! I looked at your attached example and I notice that I didn't upload the correct example file I intended. I was able to get what you provided on my own, but I will attach here what I'm really trying to get.

    The main issues are:

    -I need a "count" and not a "sum" on the company total. (I want it to count the number of unique "name" records for each company total)
    -I need to include dates even if there is no data (I think I have resolved this on my own in the meanwhile)
    -I need to have some sort of logical test on the end
    -I don't want to have to rebuild the reports every month, but rather paste the new data in a worksheet and refresh the pivot table

    Obviously my questions other than the first wouldn't have made much sense with the first attachment provided.

    Any advice on if I can do this in a pivot table will hopefully get me pointed in the right direction.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Hi,

    Not entirely sure what the rules are for your logical test, but you can just drag the name field into the data area and it will use the COUNT option automatically.

    HTH

+ 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. Pivot Table - Few complicated queries
    By acsishere in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2008, 05:08 PM
  2. Creating pivot table to Existing worksheet
    By Malvaro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2008, 09:30 AM
  3. To formulate a table based off a single row of Pivot data
    By money n da sank in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2008, 11:28 AM
  4. bug in vba macro to create pivot table
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2008, 05:27 PM
  5. a pivot table report cannot overlap another pivot table report
    By judyh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-25-2007, 12:59 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