#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deb
 
Posts: n/a
Default sorting scores

I am trying to sort the following teams scores for them to appear as the
winner first and the loser second. The original information is downloaded
from the season draw and appears in a set format as Team A Vs Team B but I
want to then sort into the winner and loser ie if Team A has a loss I want it
to appear second and Team B to appear first.
My spread sheet reads as follows: (Column A is Date, Column B is Time,
Column C is Court, Column D is the Division)
Column "E" is Team Name, Column F is the score for the team in column E

Column "G" is the opposing team name and Column H is the score for the team
in column G.

Can anybody help?

Thanks



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default sorting scores

You can't use Excel's standard sorting functionality to do what you want.

How would you feel about leaving the data in place but putting the winning
team's name in bold-face type? You can do that simply with Conditional
Formatting. Assuming your data starts in row 2,
1) select cell E2, then go to FormatConditional Formatting
2) choose 'Formula is' and enter the formula =F2H2
3) click on the format button and select the Bold font - or some other
formatting that sets the winner apart, then click on OK until you return to
the spreadsheet
4) select cell G2 and repeat, but use the formula =H2F2
5) copy the formats for these two cells down the column

Alternatively, move the data in columns E thru H well off to the right, into
columns L:O, then use these formulas in E2:h2

E2: =if(m2o2,l2,n2)
F2: =if(m2o2,m2,o2)
G2: =if(m2<o2,l2,n2)
H2: =if(m2<o2,m2,o2)


"Deb" wrote:

I am trying to sort the following teams scores for them to appear as the
winner first and the loser second. The original information is downloaded
from the season draw and appears in a set format as Team A Vs Team B but I
want to then sort into the winner and loser ie if Team A has a loss I want it
to appear second and Team B to appear first.
My spread sheet reads as follows: (Column A is Date, Column B is Time,
Column C is Court, Column D is the Division)
Column "E" is Team Name, Column F is the score for the team in column E

Column "G" is the opposing team name and Column H is the score for the team
in column G.

Can anybody help?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Deb
 
Posts: n/a
Default sorting scores

Thanks for your help. I will go with the second option. The reason for the
sort is that the newspaper we send the results to lists the winner first: ie
Winner d Loser.


"Duke Carey" wrote:

You can't use Excel's standard sorting functionality to do what you want.

How would you feel about leaving the data in place but putting the winning
team's name in bold-face type? You can do that simply with Conditional
Formatting. Assuming your data starts in row 2,
1) select cell E2, then go to FormatConditional Formatting
2) choose 'Formula is' and enter the formula =F2H2
3) click on the format button and select the Bold font - or some other
formatting that sets the winner apart, then click on OK until you return to
the spreadsheet
4) select cell G2 and repeat, but use the formula =H2F2
5) copy the formats for these two cells down the column

Alternatively, move the data in columns E thru H well off to the right, into
columns L:O, then use these formulas in E2:h2

E2: =if(m2o2,l2,n2)
F2: =if(m2o2,m2,o2)
G2: =if(m2<o2,l2,n2)
H2: =if(m2<o2,m2,o2)


"Deb" wrote:

I am trying to sort the following teams scores for them to appear as the
winner first and the loser second. The original information is downloaded
from the season draw and appears in a set format as Team A Vs Team B but I
want to then sort into the winner and loser ie if Team A has a loss I want it
to appear second and Team B to appear first.
My spread sheet reads as follows: (Column A is Date, Column B is Time,
Column C is Court, Column D is the Division)
Column "E" is Team Name, Column F is the score for the team in column E

Column "G" is the opposing team name and Column H is the score for the team
in column G.

Can anybody help?

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
golf handicap 4 of last 5 scores Golf.nut1 Excel Discussion (Misc queries) 15 April 3rd 08 06:11 AM
sorting golf scores Tommy Excel Discussion (Misc queries) 5 April 6th 06 07:00 AM
Calculating average scores from multiple sheets' information quailhunter Excel Worksheet Functions 2 October 16th 05 10:37 PM
Football Scores Number_8 Excel Discussion (Misc queries) 4 August 12th 05 05:46 PM
Golf Handicap Using Last 5 Scores Golf League Schedule Excel Worksheet Functions 5 May 13th 05 12:14 AM


All times are GMT +1. The time now is 10:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"