+ Reply to Thread
Results 1 to 3 of 3

Count Pivot table (more to it)

  1. #1
    Registered User
    Join Date
    12-07-2007
    Posts
    20

    Count Pivot table (more to it)

    I built a pivot table from a set of data, I used two grouping and with a total. Let's say the grouping is like...

    ID_Number, Med_name and the count vaule is the total of whichever. Aside from that I have a vlookup function that compares the med_name to another list of medication (that's outside the pivot table). The result is either, Don't Count, 1st gen anti-psychotic, 2nd gen anti-psychotic and no match. How do I create a function that picks up the ID_Num and check how many of 4 things they have. So let's say I have Luvox as don't count. Zyprexa and Zyprexa 15mg as 2nd psychotic (but I want to count them as one not two). sorry its pretty difficult to explain
    Last edited by VBA Noob; 12-09-2007 at 12:36 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you can't explain what you want, how do you expect us to understand. Try attaching a zipped example workbook with some sample data & explanation.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    12-07-2007
    Posts
    20
    OK attached a file that look somewhat similar. Two tabs, med and anti-psychotic. I want to count how many 2nd gen anti psychotic I have, but instead of counting two for Zyprexa/Zyprexa 15mg, I want it to count as one because they are the same med.
    Attached Files Attached Files

+ 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