Tuesday, October 07, 2008   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Frequency and Pivot
Previous Previous
 
Next Next
New Post 3/26/2008 11:42 AM
User is offline jtr
1 posts
Member


Frequency and Pivot 

I have a performance databse where I have multiple office locations (i.e. O1, O2, O3..) and each office has multiple sales persons (i.e. S1, S2, S3..). Each time a sales person makes a transaction it is stored in the database as a new entry. So the database looks like

O1 S1 abc

O1 S1 bcd

O2 S3 gfh

O1 S2 fghdfh

How can I find out number of sales persons in each office? I am trying to do it with a Pivot. If i put office location and the sales person as value then it gives me the total records. In the above example i would want

O1    2

O2  1

 

Thanks!!

 
New Post 3/26/2008 11:53 AM
User is offline Ashish Mathur
69 posts
www.ashishmathur.com
Member




Re: Frequency and Pivot 

Hi,

May i request you to mail me your workbook at ask@ashishmathur.com and explain the problem very clearly.


For Microsoft Excel trainings in India, please visit http://ashishmathur.com/training.aspx

Regards,

Ashish Mathur - View Ashish Mathur's profile on LinkedIn
Microsoft Excel MVP
www.ashishmathur.com

 
New Post 3/26/2008 12:59 PM
User is offline Argha
12 posts
Member


Re: Frequency and Pivot 
Modified By Argha  on 3/26/2008 1:02:02 PM)

Hi jtr,

Ashish is right, and we should know the problem in detail to  obtain a solution. So please forward the required file to him.

However, what I have understood from your initial query, the following might help you.
1. Add Office to Column Fields
2. Add Sales Person to Row Fields
3. Add Transaction to Data Fileld
4. This will give you "Count of Transaction"
5. But you need number of sales persons, office-wise
6. So, outside the pivot table area, below each office column, use the following formula
7. =Count(DataRange)

For example, assuming Pivot Table is in range A3 : D8, enter [ =count(B5:B7) ] in cell B10 for office O1, [ =count(C5:C7) ] in cell C10 for office O2 & so on.

 
New Post 3/28/2008 6:25 PM
User is offline Ashish Mathur
69 posts
www.ashishmathur.com
Member




Re: Frequency and Pivot 

Hi,

JTR's problem is better explained in Question 2 of the follwing link on my website - http://ashishmathur.com/knowledgebaseII.aspx.  I have also provided my solution to this problem.


For Microsoft Excel trainings in India, please visit http://ashishmathur.com/training.aspx

Regards,

Ashish Mathur - View Ashish Mathur's profile on LinkedIn
Microsoft Excel MVP
www.ashishmathur.com

 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Microsoft Offic...  Microsoft Excel  Frequency and Pivot
   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account