Texas Poker Supply banner Poker DIY banner Home Poker Tourney Forums
* How To Host a Poker Tournament
Welcome Guest. Please login or register. Did you miss your activation email? Jan 26, 2017 at 04:46
Login
Welcome Guest. Please login or register. Did you miss your activation email?
Username:
Password:

^ Login with username, password and session length

Use the arrows at the
top to close this sidebar

Pages: [1]
Print
Author Topic: MS Excel Help please  (Read 6897 times)
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« on: Nov 28, 2006 at 14:45 »

Hi guys and gals.

I started my winter league this past Sunday and posted the results.  I'm using TD2.2.2 for the league stats and points calculations and then enter points into a spread sheet to post on my site.  I'm not a frequent user of Excel and I'm not sure how to enter a formula, nor can I find it in the help menu so i'm asking here.

What I've done is enter a formula in the points column to give the sum of all 8 satellite points.  (sum:C2,J2)
What I'd like it to do is to give me the sum of the 6 highest scores from those 8 columns.  Does anyone know how to modify the formula to drop the two lowest totals?

Thanks for your help.  To see our poker site visit here..... I owe thanks to Wedge as I fed off of his set up a little.
Logged

The Donkey formerly known as Shmegma!
halfnelsen
Regular
***
Posts: 598



« Reply #1 on: Nov 28, 2006 at 15:32 »

I'm not an EXCEL guru but I liked your idea and wanted to do the same for my point standing a did a little research this expression should work
=SUM(C2:J2)-SMALL(C2:J2,1)-SMALL(C2:J2,2)
This will do a sum and then subtract the two smallest numbers. I'm sure there is an easier way, but I'm not much of a programmer.
Logged
austin5string
Global Moderator
Regular
****
Posts: 8206


« Reply #2 on: Nov 28, 2006 at 15:35 »

Well that's pretty darn cool.  I'm not an Excel guru, but I'm not bad with it, and I never knew about the SMALL function.  Question, though.  What happens if there are multiple entries w/ the same value?  Say, you have 1,1,2,2,3,4,5 and ask for the 2nd smallest?  Will it give you '1', as it should, or will it give you '2'?
Logged

Dude is definitely weird.. If it's a bot, it's a pretty good one..  If it's a person, it's a pretty bad one.. LOL
halfnelsen
Regular
***
Posts: 598



« Reply #3 on: Nov 28, 2006 at 15:40 »

I just did it with multiple 1's and it realized the 1 was the smallest both times.
Logged
austin5string
Global Moderator
Regular
****
Posts: 8206


« Reply #4 on: Nov 28, 2006 at 15:43 »

I just did it with multiple 1's and it realized the 1 was the smallest both times.

Right, but what if you ask for the 2nd smallest?  Does it realize that the second smallest is also 1, or does it choose the next highest value (which isn't what you would want).

Use 1,1,2,2,3,4,5 and ask for the 2nd smallest and see if it gives you 1 or 2.
Logged

Dude is definitely weird.. If it's a bot, it's a pretty good one..  If it's a person, it's a pretty bad one.. LOL
halfnelsen
Regular
***
Posts: 598



« Reply #5 on: Nov 28, 2006 at 15:47 »

Yeah the second smallest still gave 1 as an answer.
Logged
Pops28
Regular
***
Posts: 2076



« Reply #6 on: Nov 28, 2006 at 15:49 »

I have posted a sample of the Excel sheet we use for our league. The small function is the way to go. Here is an example from our spread sheet:
=(F2-SMALL(G2:T2,1)-SMALL(G2:T2,2))
I have attached blank sample for you but as I couldn't attach an xls I had to change the extension to .txt. You will need to change it back to .xls. Column D (verage Denominator) is used to figure out column C (average) and needs to be modified each week. You can get rid of these columns if you would like. I have filled in the first line for you as a sample.


* Excell League Template.txt (26.5 KB - downloaded 209 times.)
« Last Edit: Nov 28, 2006 at 15:52 by Pops28 » Logged

\"I believe in rules. Sure I do. If there weren\'t any rules, how could you break them?\"
---Leo Duracher
icehawk
Regular
***
Posts: 602



« Reply #7 on: Nov 28, 2006 at 16:16 »

If you are going to use the SMALL function, remember that you have to enter a zero for people that are on the roster, but did not play in a particular tournament.

Player 1 = 10,10,8, ,6,2,7,9 gives lows of 2 and 6.
Player 1 = 10,10,8,0,6,2,7,9 gives lows of 0 and 2.
Logged
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #8 on: Nov 28, 2006 at 21:44 »

Thanks a bunch guys.  This should do the trick perfectly.  I knew you guys were all good for something!!! lol
Logged

The Donkey formerly known as Shmegma!
DrunkAss
Player
**
Posts: 2



« Reply #9 on: Dec 01, 2006 at 00:48 »

I don't see my name in there shmeggie! Grin
Logged
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #10 on: Dec 01, 2006 at 01:10 »

=SUM(C2:J2)-SMALL(C2:J2,1)-SMALL(C2:J2,2)

Funny...  I used Large(c2:j2,1)+Large(c2:j2,2)+Large(c2:j2,3)+Large(c2:j2,4)+Large(c2:j2,5)+Large(c2:j2,6)

Wanna get really slick?  Use conditional formatiing.  If [cell value] < Large (c2:c7,6) then switch the background to grey.  If you do this, it will automatically grey out the cells it is not using to calculate your best 6 of 8 score.  Makes it easier to understand how the formula is calculated, and it updates itself whenever you add a new tournament.
Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
halfnelsen
Regular
***
Posts: 598



« Reply #11 on: Dec 01, 2006 at 14:15 »

=SUM(C2:J2)-SMALL(C2:J2,1)-SMALL(C2:J2,2)

Funny... I used Large(c2:j2,1)+Large(c2:j2,2)+Large(c2:j2,3)+Large(c2:j2,4)+Large(c2:j2,5)+Large(c2:j2,6)

Wanna get really slick? Use conditional formatiing. If [cell value] < Large (c2:c7,6) then switch the background to grey. If you do this, it will automatically grey out the cells it is not using to calculate your best 6 of 8 score. Makes it easier to understand how the formula is calculated, and it updates itself whenever you add a new tournament.

Thats how I first saw how to do it, but I thought it got a little long. The conditional formating will really make it tie together and get the point across. I'll have to add that to mine as well. Thanks.
Logged
Dr. Neau
Regular
***
Posts: 9659


Dr. Neau is a player of the pokers


WWW
« Reply #12 on: Dec 01, 2006 at 14:30 »

Guys guys guys.  Just use an array formula!

The following formula will sum up the top 10 values found in A1 through A100.

{=SUM(LARGE(a1:a100,ROW(INDIRECT("1:10"))))}

Type the formula without the curlies, then instead of hitting "ENTER", hit "CNTL-ALT-ENTER".  That turns it into an array formula.

You can send donations via PayPal to drneau@drneau.com  Wink
« Last Edit: Dec 01, 2006 at 14:33 by DrNeau » Logged

(not a real doctor)

Concentrate on winning your tournament...let Dr. Neau manage it.

http://drneau.com
ChrisChip10
Regular
***
Posts: 2439


I think, therefore I bet.


« Reply #13 on: Dec 01, 2006 at 15:20 »

Counseling is available at "www.imacomputergeek.com".   Cool
Logged

I think, therefore, I bet
You betta you betta you bet!

Chris
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #14 on: Dec 01, 2006 at 16:56 »

Neau, I tried your suggestion, but when I hit CTRL-ALT-DEL, my system shuts down...   Angry

Any suggestions?

 Grin

Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
Dr. Neau
Regular
***
Posts: 9659


Dr. Neau is a player of the pokers


WWW
« Reply #15 on: Dec 01, 2006 at 17:02 »

Neau, I tried your suggestion, but when I hit CTRL-ALT-DEL, my system shuts down...   Angry

Any suggestions?

 Grin



Your computer is clearly too heavy.  Try deleting some files from the hard drive.
Logged

(not a real doctor)

Concentrate on winning your tournament...let Dr. Neau manage it.

http://drneau.com
Slyy
Player
**
Posts: 22


« Reply #16 on: Dec 01, 2006 at 17:05 »

Neau, I tried your suggestion, but when I hit CTRL-ALT-DEL, my system shuts down...   Angry

Any suggestions?

 Grin



Your computer is clearly too heavy.  Try deleting some files from the hard drive.

It might be a good idea to start with the files in the C:\Windows folder.  I never can recognize most of those files, anyway.
Logged
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #17 on: Dec 01, 2006 at 17:11 »

Your computer is clearly too heavy.  Try deleting some files from the hard drive.

I spent an hour with an eraser yesterday...  I can get rid of any of the files...  And the retractable cup holder tray keeps getting in the way...
Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
Slyy
Player
**
Posts: 22


« Reply #18 on: Dec 01, 2006 at 17:13 »

Just don't use the foot pedal.  You might start losing files you need to keep.
Logged
ChrisChip10
Regular
***
Posts: 2439


I think, therefore I bet.


« Reply #19 on: Dec 01, 2006 at 21:50 »

Buy a frog, they like flies.
Logged

I think, therefore, I bet
You betta you betta you bet!

Chris
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #20 on: Dec 02, 2006 at 11:27 »

I've gotten a few PM's about conditional formatting.  I'll answer it here, so it only has to be answered once.

You have to do this player by player, because you are comparing the value of the cell to the array of that player's games.

1. Highlight the cells you want to apply the conditional formatting to (basically, the first game to the last game).

2. From the top menu bar select Format->Conditional Formatting

3. Condition 1: Set first drop down to "Cell Value Is"

4. Condition 1: Set second drop down to "less than"

5. Condition 1: Set the text box to =LARGE($B$2:$I$2,6)

Note: This assume eight games and you want to keep the highest 6.  Adjust your variables as needed.  Also, you could use set steo 4 to "greater then" and set step six to =SMALL($B$2:$I$2,2) and get the same results.

Note2: I use Dr. Neau's formula which generally produces results with decimals.  You may have to override this automatic formatting if the player has identical scores for some events (especially if those identical scores are right on the threshold of the cutoff).

7. Click the Format button.  You now need to set the formatting you want to display if the condition is true (i.e. if the number is too small to be used in the season totals calculations).  I grey out the background.  You could also set the font color to a light grey, assuming all the others are black, or set the font to regular when all the rest of the cells are bold.

To set the background as grey, from the "Format Cells" pop-up box, select the Patterns tab,  then choose the light grey shade (last color of the second to last row).  Click OK.

Repeat these steps for each player in your league.

There you go.  Conditional formatting done for that row.  You never have to do it manually.
Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #21 on: Dec 02, 2006 at 14:54 »

Thanks Wedge....I'll edit my leader board when I get home tomorrow.
Logged

The Donkey formerly known as Shmegma!
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #22 on: Dec 09, 2006 at 00:58 »

Ok wedgie,

I tried this and then filled out the fields across for the first player.  The total points formula worked fine, adding only the highest 6.  The conditional formatting however, only crossed out the lowest score and not the lowest 2!?  I'm baffled.  That was using the 'less than' =LARGE(C2:J2,6) formula. 

After that I tried reversing it to 'greater than' =(C2:J2,2) and it crossed out 4 of 8 scores.

I was almost at the point of my avatar being a home video for you all! lol
« Last Edit: Dec 09, 2006 at 01:00 by Shmegma » Logged

The Donkey formerly known as Shmegma!
Dr. Neau
Regular
***
Posts: 9659


Dr. Neau is a player of the pokers


WWW
« Reply #23 on: Dec 09, 2006 at 09:47 »

Ok wedgie,

I tried this and then filled out the fields across for the first player.  The total points formula worked fine, adding only the highest 6.  The conditional formatting however, only crossed out the lowest score and not the lowest 2!?  I'm baffled.  That was using the 'less than' =LARGE(C2:J2,6) formula. 

After that I tried reversing it to 'greater than' =(C2:J2,2) and it crossed out 4 of 8 scores.

I was almost at the point of my avatar being a home video for you all! lol

While conditional formatting is cool, I don't think it's going to do exactly what you want in this case.

Say your values are 1,1,2,2,3,3.  The 3rd largest value is 2.  You're now essentially saying "format everything less than 2 a special way".  The 1's get highlighted.  There's no way to make it format 1,1,2 rather than just 1,1.

BTW, did anyone bother trying my function??  Cry
Logged

(not a real doctor)

Concentrate on winning your tournament...let Dr. Neau manage it.

http://drneau.com
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #24 on: Dec 09, 2006 at 12:06 »

Neau is exactly correct.  See my Note #2 above...  If you are dealing with whole numbers that may replicate, I wouldn't suggest conditional formatting, as you'll have too many over rides.

Shmegma, what numbers were you using?

I have this conditional formatting in place on the season totals page of my standings.  You can open the file directly in Excel and see how the formulas look.

Dr., I haven't messed with my Excel spreadsheet since you posted that, so no, I haven't tried it yet.  But I will.
« Last Edit: Dec 09, 2006 at 12:07 by Wedge Rock » Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #25 on: Dec 09, 2006 at 12:18 »

I'm used numbers with 2 decimal points, same as yours.  I just filled in the board across with a bunch of numbers to see if the formatting would work.  I may have missed something but I'll look it over again and see if I can remedy it. 

Then if that doesn't work I'll see if I can attempt the good Dr.'s solution.
Logged

The Donkey formerly known as Shmegma!
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #26 on: Dec 09, 2006 at 12:39 »

Um, ok I've got it working.  Stupid error.  Noticed the $ you had in the post you made and thought I was supposed to replace them with the column letter and row # I was using.  I added the $ symbols into each formula and it works like a charm now.  Thanks guys.
Logged

The Donkey formerly known as Shmegma!
Dr. Neau
Regular
***
Posts: 9659


Dr. Neau is a player of the pokers


WWW
« Reply #27 on: Dec 09, 2006 at 13:10 »

Um, ok I've got it working.  Stupid error.  Noticed the $ you had in the post you made and thought I was supposed to replace them with the column letter and row # I was using.  I added the $ symbols into each formula and it works like a charm now.  Thanks guys.

For those who don't know, putting the "$" in front of a row or column in a formula locks that value for copying and pasting.  Otherwise, the rows and columns are automatically adjusted based on the paste.
Logged

(not a real doctor)

Concentrate on winning your tournament...let Dr. Neau manage it.

http://drneau.com
Wedge Rock
Global Moderator
Regular
****
Posts: 9471


CC&GTCC # R-7604


WWW
« Reply #28 on: Dec 09, 2006 at 16:56 »

When you are inputting the formula, there's a small box over at the right of the typing box...  clicking that box will allow you you select cells from the spread sheet so you don't have to type a cumbersome formula manually...
Logged

Wedge Rock (not a real rock)



Guilty of over-using ellipses...
Junior
Regular
***
Posts: 800


HEEE HAAWWW


WWW
« Reply #29 on: Dec 09, 2006 at 18:43 »

When you are inputting the formula, there's a small box over at the right of the typing box... clicking that box will allow you you select cells from the spread sheet so you don't have to type a cumbersome formula manually...

sure, NOOOOOWWWW you tell me!  Thanks Wedgie.
Logged

The Donkey formerly known as Shmegma!
flipflop1970
Regular
***
Posts: 173



« Reply #30 on: Feb 27, 2007 at 09:16 »

=SUM(LARGE(A:A,{1,2,3,4,5,6,}))
Logged
Pages: [1]
Print
Home Poker Tourney Forums  |  Poker Leagues  |  Poker League Rules & Points Systems  |  Topic: MS Excel Help please
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2016, Simple Machines Valid XHTML 1.0! Valid CSS!


nutN2Lewz image
Copyright © 2017 HomePokerTourney.com