Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Anyone good with Excel ?

Thread Tools
 
Search this Thread
 
Old 22 September 2010, 04:37 PM
  #1  
pimmo2000
Scooby Regular
Thread Starter
iTrader: (6)
 
pimmo2000's Avatar
 
Join Date: Sep 2004
Location: On a small Island near France
Posts: 14,660
Received 4 Likes on 4 Posts
Default Anyone good with Excel ?

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 ..



So I need

Pimmo and internet appeared 3 times
Pimmo and sex appeared 1 time


if you get me ...

SQL I could do it... excel I haven't a clue ..
Old 22 September 2010, 04:44 PM
  #2  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

=COUNTIF(A:A,"Pimmo Internet")
Old 22 September 2010, 04:46 PM
  #3  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

Ah - I see...
Old 22 September 2010, 04:55 PM
  #4  
pimmo2000
Scooby Regular
Thread Starter
iTrader: (6)
 
pimmo2000's Avatar
 
Join Date: Sep 2004
Location: On a small Island near France
Posts: 14,660
Received 4 Likes on 4 Posts
Default

you see ?
Old 22 September 2010, 06:10 PM
  #5  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

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...

Last edited by Puff The Magic Wagon!; 22 September 2010 at 06:11 PM.
Old 22 September 2010, 06:15 PM
  #6  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

Sorry, add in a line at the top and enter headings - Data & Pimmo
Data starts in A2 & formula for PMO in B2
Old 22 September 2010, 06:19 PM
  #7  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

Old 22 September 2010, 06:26 PM
  #8  
davyboy
Scooby Regular
 
davyboy's Avatar
 
Join Date: Apr 2001
Location: Some country and western
Posts: 13,488
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 23 September 2010, 06:46 AM
  #9  
pimmo2000
Scooby Regular
Thread Starter
iTrader: (6)
 
pimmo2000's Avatar
 
Join Date: Sep 2004
Location: On a small Island near France
Posts: 14,660
Received 4 Likes on 4 Posts
Default

Originally Posted by Puff The Magic Wagon!



Thank you .. I'll give it ago today
Related Topics
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
blackandz
General Technical
0
12 September 2015 07:01 PM



Quick Reply: Anyone good with Excel ?



All times are GMT +1. The time now is 11:14 PM.