Anyone good with Excel ?
#1
![Default](https://www.scoobynet.com/images/icons/icon1.gif)
I have a large sheet that I need to extract some data from ..
Its a report of user activities and each line contains the username and the activity ..
so for example
Pimmo Internet
Pimmo Break
Pimmo Internet
Pimmo Internet
Pimmo chess
Pimmo sex
etc
I want to be able to count the number of times Pimmo appears with each type of activity .. BUT I don't have a list of all the activities ..
![Big Grin](https://www.scoobynet.com/images/smilies/biggrin.gif)
So I need
Pimmo and internet appeared 3 times
Pimmo and sex appeared 1 time
![Suspicious](https://www.scoobynet.com/images/smilies/Suspicious.gif)
if you get me ...
SQL I could do it... excel I haven't a clue ..
Its a report of user activities and each line contains the username and the activity ..
so for example
Pimmo Internet
Pimmo Break
Pimmo Internet
Pimmo Internet
Pimmo chess
Pimmo sex
etc
I want to be able to count the number of times Pimmo appears with each type of activity .. BUT I don't have a list of all the activities ..
![Big Grin](https://www.scoobynet.com/images/smilies/biggrin.gif)
So I need
Pimmo and internet appeared 3 times
Pimmo and sex appeared 1 time
![Suspicious](https://www.scoobynet.com/images/smilies/Suspicious.gif)
if you get me ...
SQL I could do it... excel I haven't a clue ..
#5
Moderator
iTrader: (2)
![Default](https://www.scoobynet.com/images/icons/icon1.gif)
If data is in one column, starting A1 and all you want to do to find the Pimmo instancs and what instances they are of, then in B1
=IF(LEFT(A1,5)="Pimmo","PMO","")
Enter
Drag down all the data (or double-click small black dot in B1 left corner)
Ctrl A to select the data
Insert Pivot Table
Drag the data field down to Values and change to count
Drag the data field down to Row Labels
That will give you grouped/counted data (all)
Drag PMO field to Report Filter then click on the filter (on the table not the PivotTable Field List) and select PMO only to view.
That will then give you a list of all PMO (Pimmo values), the items and the frequency...
=IF(LEFT(A1,5)="Pimmo","PMO","")
Enter
Drag down all the data (or double-click small black dot in B1 left corner)
Ctrl A to select the data
Insert Pivot Table
Drag the data field down to Values and change to count
Drag the data field down to Row Labels
That will give you grouped/counted data (all)
Drag PMO field to Report Filter then click on the filter (on the table not the PivotTable Field List) and select PMO only to view.
That will then give you a list of all PMO (Pimmo values), the items and the frequency...
Last edited by Puff The Magic Wagon!; 22 September 2010 at 06:11 PM.
Trending Topics
#8
Scooby Regular
Join Date: Apr 2001
Location: Some country and western
Posts: 13,488
Likes: 0
Received 0 Likes
on
0 Posts
![Default](https://www.scoobynet.com/images/icons/icon1.gif)
Pivot tables.
Put a number 1 next to each entry (in the next cell) and add headers
Pimmo Internet 1
Pimmo Break 1
Pimmo Internet 1
Pimmo Internet 1
Pimmo chess 1
Pimmo sex 1
Data/Pivot table....select data, new worksheet etc
Drag and drop headers in to chart
Put a number 1 next to each entry (in the next cell) and add headers
Pimmo Internet 1
Pimmo Break 1
Pimmo Internet 1
Pimmo Internet 1
Pimmo chess 1
Pimmo sex 1
Data/Pivot table....select data, new worksheet etc
Drag and drop headers in to chart
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
33
29 August 2017 07:18 PM
Scott@ScoobySpares
Full Cars Breaking For Spares
7
14 December 2015 08:16 AM
Mattybr5@MB Developments
Full Cars Breaking For Spares
20
22 October 2015 06:12 AM