Conquer Club

Homework Help - Excel & Stats

\\OFF-TOPIC// conversations about everything that has nothing to do with Conquer Club.

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

Homework Help - Excel & Stats

Postby Serbia on Fri May 13, 2016 6:19 am

Well not really homework... :lol:

I know we have a plethora of Excel experts on here, and I'm needing help with some formulas. I have a data set that typically includes zeros, yet I need to exclude zero values from my calculations - standard deviation, mean and normal distribution. Yes I can do it manually pretty easily, but I need this to be automated when I dump data. I'm assuming it's an If Then statement, but I suck at those.

And speaking of stats, anyone know what percentage of a normal Gaussian (?) distribution 1.5 standard deviations will give me? I know 1 is 68% and 2 is 95%, but I need something in between, so was hoping I could use 1.5?

If I can do this easier in access, that'd work too. But I suck at access... that's why they have me doing this database. :lol:

Thanks guys!! 8)
CONFUSED? YOU'LL KNOW WHEN YOU'RE RIPE
saxitoxin wrote:Serbia is a RUDE DUDE
may not be a PRUDE, but he's gotta 'TUDE
might not be LEWD, but he's gonna get BOOED
RUDE
User avatar
Captain Serbia
 
Posts: 12267
Joined: Sun Jan 14, 2007 10:10 pm
Location: Detroit

Re: Homework Help - Excel & Stats

Postby mrswdk on Fri May 13, 2016 6:23 am

What kind of moron can't do an IF statement? Especially given Excel tells you exactly how to write one.

The other day my colleague was telling me about her housemate who she once saw adding up numbers from Excel on a calculator, because she didn't realize Excel could do the sums for her.
Lieutenant mrswdk
 
Posts: 14898
Joined: Sun Sep 08, 2013 10:37 am
Location: Red Swastika School

Re: Homework Help - Excel & Stats

Postby Razorvich on Fri May 13, 2016 6:44 am

contact ztodd
Razorvich wrote:High Score: 2569
Image
TeeGee has my PW... Wall him if I get below 1 Hour in CLAN GAMES ONLY !!
User avatar
Sergeant 1st Class Razorvich
Head Chatter
Head Chatter
 
Posts: 5058
Joined: Mon Jan 25, 2010 7:28 am
Location: I'm lost........no Idea where I am....

Re: Homework Help - Excel & Stats

Postby DoomYoshi on Fri May 13, 2016 6:53 am

Easiest:First sort the column, then just delete all the 0 values. Empty cells aren't used in calculations.
Alternately: Find/Replace 0 with ""

Here's a table for a bunch of z-values:
https://www.mathsisfun.com/data/standard-normal-distribution-table.html

How are you dumping data?
â–‘â–’â–’â–“â–“â–“â–’â–’â–‘
User avatar
Captain DoomYoshi
 
Posts: 10728
Joined: Tue Nov 16, 2010 9:30 pm
Location: Niu York, Ukraine

Re: Homework Help - Excel & Stats

Postby betiko on Fri May 13, 2016 8:57 am

mrswdk wrote:What kind of moron can't do an IF statement? Especially given Excel tells you exactly how to write one.

The other day my colleague was telling me about her housemate who she once saw adding up numbers from Excel on a calculator, because she didn't realize Excel could do the sums for her.


my mother in law does that. she tells me she doesn't trust excel and that she's seen mistakes sometimes... but hey... If I say something, it must be because it's me thinking I'm always right again.

I wonder why she thinks the calculator doesn't make mistakes thought! :-s
Image
User avatar
Major betiko
 
Posts: 10941
Joined: Fri Feb 25, 2011 3:05 pm
Location: location, location
22

Re: Homework Help - Excel & Stats

Postby mrswdk on Fri May 13, 2016 9:08 am

betiko wrote:
mrswdk wrote:What kind of moron can't do an IF statement? Especially given Excel tells you exactly how to write one.

The other day my colleague was telling me about her housemate who she once saw adding up numbers from Excel on a calculator, because she didn't realize Excel could do the sums for her.


my mother in law does that. she tells me she doesn't trust excel and that she's seen mistakes sometimes... but hey... If I say something, it must be because it's me thinking I'm always right again.


'You think you're always right' is the point at which you should just slap her in the chops and tell her to use the damn spreadsheet or else.
Lieutenant mrswdk
 
Posts: 14898
Joined: Sun Sep 08, 2013 10:37 am
Location: Red Swastika School

Re: Homework Help - Excel & Stats

Postby tzor on Fri May 13, 2016 10:18 am

Excel has the XXXX...if functions.

Countif
Sumif
Averageif

The second parameter is the condition, in this case "<> 0"

For standard deviation and more look at this video

Image
User avatar
Cadet tzor
 
Posts: 4076
Joined: Thu Feb 22, 2007 9:43 pm
Location: Long Island, NY, USA

Re: Homework Help - Excel & Stats

Postby ztodd on Fri May 13, 2016 10:11 pm

I didn't watch tzor's vid, but the preview of it looks like it uses an array formula. That's one way to do it.
Another way is to put your IF function in a new column, and do your std dev formula on that column.
It would probly be somethin like =IF(a2=0,"",a2) assuming your data starts in a2.
User avatar
Sergeant 1st Class ztodd
 
Posts: 116
Joined: Sat Sep 06, 2008 9:38 pm
Location: Arizona, USA

Re: Homework Help - Excel & Stats

Postby Serbia on Fri May 13, 2016 10:15 pm

I appreciate all the help, thanks guys!!
CONFUSED? YOU'LL KNOW WHEN YOU'RE RIPE
saxitoxin wrote:Serbia is a RUDE DUDE
may not be a PRUDE, but he's gotta 'TUDE
might not be LEWD, but he's gonna get BOOED
RUDE
User avatar
Captain Serbia
 
Posts: 12267
Joined: Sun Jan 14, 2007 10:10 pm
Location: Detroit

Re: Homework Help - Excel & Stats

Postby Razorvich on Wed May 18, 2016 7:10 am

My turn..... little side project I am working on.

I have the following for example:

Column A:
13 Colonies1
1982
2011 World Cup1
2014 World Cup43
2015 World Cup
4 Star Meats1
8 Thoughts
Africa

What I need to do is remove the last 1 or 2 numbers ...if they exist in each cell
you see that 2014 has 2 numbers whilst 2011 only has 1.
I understand that the 82 would be removed from 1982, thats fine for what I am trying to do.

So the result I am looking for in column B is this:
13 Colonies
19
2011 World Cup
2014 World Cup
2015 World Cup
4 Star Meats
8 Thoughts
Africa

Last night tried using this:
=IF(D4="Europa","Europa",(LEFT(D4, LEN(D4)-2)))

but it doesnt distinguish between numerals and alphabet, so I am back to bashing my head again.

Doing my head in, I do not know too much about coding, so a nice easy noob solution please.

Thanks

Raz.
Razorvich wrote:High Score: 2569
Image
TeeGee has my PW... Wall him if I get below 1 Hour in CLAN GAMES ONLY !!
User avatar
Sergeant 1st Class Razorvich
Head Chatter
Head Chatter
 
Posts: 5058
Joined: Mon Jan 25, 2010 7:28 am
Location: I'm lost........no Idea where I am....

Re: Homework Help - Excel & Stats

Postby mrswdk on Wed May 18, 2016 8:08 am

I don't think there is anything you could do which will consistently remove unwanted numbers from the cells in a list like that, given that the cells all contain different amounts of unwanted numbers (0, 1 or 2) and the text strings are all different lengths. So there is no consistent rule (that I can think of anyway) for identifying surplus vs non-surplus numbers.

Unless, of course, you have a separate list of CC map names in which none of them have additional numbers tagged onto their names. Then you could use that as a frame of reference.
Lieutenant mrswdk
 
Posts: 14898
Joined: Sun Sep 08, 2013 10:37 am
Location: Red Swastika School

Re: Homework Help - Excel & Stats

Postby Razorvich on Wed May 18, 2016 8:27 am

mrswdk wrote:I don't think there is anything you could do which will consistently remove unwanted numbers from the cells in a list like that, given that the cells all contain different amounts of unwanted numbers (0, 1 or 2) and the text strings are all different lengths. So there is no consistent rule (that I can think of anyway) for identifying surplus vs non-surplus numbers.

Unless, of course, you have a separate list of CC map names in which none of them have additional numbers tagged onto their names. Then you could use that as a frame of reference.


yes ... how?
Razorvich wrote:High Score: 2569
Image
TeeGee has my PW... Wall him if I get below 1 Hour in CLAN GAMES ONLY !!
User avatar
Sergeant 1st Class Razorvich
Head Chatter
Head Chatter
 
Posts: 5058
Joined: Mon Jan 25, 2010 7:28 am
Location: I'm lost........no Idea where I am....

Re: Homework Help - Excel & Stats

Postby mrswdk on Wed May 18, 2016 9:21 am

Razorvich wrote:
mrswdk wrote:I don't think there is anything you could do which will consistently remove unwanted numbers from the cells in a list like that, given that the cells all contain different amounts of unwanted numbers (0, 1 or 2) and the text strings are all different lengths. So there is no consistent rule (that I can think of anyway) for identifying surplus vs non-surplus numbers.

Unless, of course, you have a separate list of CC map names in which none of them have additional numbers tagged onto their names. Then you could use that as a frame of reference.


yes ... how?


VLOOKUP would be easiest. If your messy list is in column A and your clean list is in column D (for example), you could set enter the formula in column B and set it to scan column D and see if there is a map name in column D which approximately matches the messy map name in column A. Then you set it to display the map name from column D in column B if a match is found. There might be one or two errors across a lengthy list, but they'd be easy enough to clean up manually.

Can just do this for you later if you like.
Lieutenant mrswdk
 
Posts: 14898
Joined: Sun Sep 08, 2013 10:37 am
Location: Red Swastika School

Re: Homework Help - Excel & Stats

Postby ztodd on Wed May 18, 2016 12:52 pm

User avatar
Sergeant 1st Class ztodd
 
Posts: 116
Joined: Sat Sep 06, 2008 9:38 pm
Location: Arizona, USA

Re: Homework Help - Excel & Stats

Postby Razorvich on Thu May 19, 2016 7:14 am

Thanks for the help everyone... perfect
Razorvich wrote:High Score: 2569
Image
TeeGee has my PW... Wall him if I get below 1 Hour in CLAN GAMES ONLY !!
User avatar
Sergeant 1st Class Razorvich
Head Chatter
Head Chatter
 
Posts: 5058
Joined: Mon Jan 25, 2010 7:28 am
Location: I'm lost........no Idea where I am....


Return to Acceptable Content

Who is online

Users browsing this forum: Evil Semp