Multi-Gaming Community
It is currently 28 Apr 2024, 01:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
gb 
 Post subject: Help with Excel - Ahhhh
PostPosted: 09 Jun 2011, 18:44 
Offline
Geek (975)
User avatar
I'm struggling with a creating a formula that I can use to count how many people have attended a workshop each month from a directorate.

Essentially I need to work out from the screen picture attached how many people 'Booked' (column D) 'Leading in Clarks' (Column B) from 'Finance / Human Resources' (Column G).

Any idea of the formula I can use that would use that criteria to give me how many people booked that course?


Attachments:
Capture.JPG
Capture.JPG [ 244.12 KiB | Viewed 1855 times ]

_________________
The stats below lie. I'm actually much much worse.
Top
   
nl 
PostPosted: 09 Jun 2011, 18:52 
Offline
Geek (847)
User avatar
You used words in your database, are these the labels of codes (for example 1 = booked and 2 = cancel)?
If you have not used codes, I would do so first. Its very hard to make computers run formulas if they are not in numbers.
Most programs wont allow you too do so anyways.

If you code booked / cancel/ what other you have in numbers 0,1,2 and do the same for finances 0=no 1=yes for example.
Then select cases that meet both criteria (select cases > when criteria is satisfied > booked =0 & finances= 1, btw thats an example of course depending on the number you actually choose)
You can then split the file on the criteria 'month'.
Then you can do whatever you like, count, find avarage per month, etc etc.

I find this very hard to explain in english.
However for running stuff like this... these kind of things are very easy to do in spss, i find that much easier to use then exel.If you only need this answer, I could probably do it for you in 1 minute if you sent me the database.

(I hope you understand my point, I mean you should not make a formula, but should make a selection criteria and then split or aggregate based on month depending on if you want absolute or relative numbers)

Really dont use exel for this... if you dont have spss i believe microsoft office has another program for databases, I dont know what it is called. Otherwise get it spss from somewhere and import the database in there. Then you'll find what you look for very easily. I only use exel for my graphs not for any statistics really.

I hope this made any sense. x


Top
   
se 
PostPosted: 09 Jun 2011, 19:15 
Offline
Has no REAL life! (1120)
http://support.microsoft.com/kb/214153

?

"excel + count string occurences"

_________________
slurper


Top
   
gb 
PostPosted: 09 Jun 2011, 19:16 
Offline
Has no REAL life! (8841)
User avatar
m3n you always have the best avatars :mrgreen:

_________________
-"You've really worked out your banter, haven't you?"
-"No, not really. This is a different thing, it's spontaneous and it's called wit."


Top
   
nl 
PostPosted: 09 Jun 2011, 19:17 
Offline
Geek (847)
User avatar
Yeah basically, but he needs to count those under certain criteria, in this case it must forfill 2 others before counted.
(number if a1-a200=0 & if d1-D100=1 for example)
Thats very nasty to do, also he would still need to recode it I think.


Top
   
gb 
PostPosted: 09 Jun 2011, 19:44 
Offline
Geek (975)
User avatar
recoding isn't an option as its a data dump from a course booking system. I tried Countif and got completed lost but perhaps I can try a bit harder.

_________________
The stats below lie. I'm actually much much worse.


Top
   
gb 
PostPosted: 09 Jun 2011, 21:29 
Offline
Lord of Minecraft (2894)
User avatar
Here's a quick if slight ungainly fix:

Concatenate the 3 columns you want to query and then do a COUNTIF against that. So in the next empty column (say it was column M)you would do:

=CONCATENATE(B1, D1 , G1) {and fill it down the screen}

Then in the next column do:

=COUNTIF(M:M,"BookedLeadin in ClarksFinance / Human Resources")

That will give you a count of what you want

_________________
"Fire rained from the sky on the day I was born: 10,000 lives I ended before drawing first breath. Do not speak to me of guilt or regret, Jonathan.” - Brayan, The Keepers of the Fire


Top
   
nl 
PostPosted: 09 Jun 2011, 21:35 
Offline
Geek (847)
User avatar
You cant make new target variables or labels in exel? Really? Think that would be a fail for a statistsics program.
What Howard suggests should work as well, fact is other programs do this automatically for you, so you only have to ask it what you want instead of making rules / formula's. If you dont get it to work give me a shout.


Top
   
gb 
PostPosted: 09 Jun 2011, 22:10 
Offline
Geek (975)
User avatar
Thanks Howard and everyone else = will give that a go and let you know how I get on.

_________________
The stats below lie. I'm actually much much worse.


Top
   
de 
PostPosted: 17 Jun 2011, 23:52 
Offline
Has no REAL life! (4162)
User avatar
Pro tip: DONT USE EXCEL! :ugly:

Other than that Howard's solution should work fine.

_________________
SaintK: I'm completely lost :mrgreen:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited