Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jp jp is offline
external usenet poster
 
Posts: 15
Default If then help required for joint places in a rank

Dear all

I posted this question on 3rd of Oct but it has dissappeared! I know there
have been problems with the servers so I am not aware of any solutions.
Sorry but here goes again.


In my golf spreadsheet I have a test for the 12 players as follows

If you are first then you lose 2 shots
If you are second you lose 1 shot
If you are last you get 2 shots back
and
If you are second last you get one shot back (even if there are a slack
handfull of you!!)

My problem is not 1st 2nd or last but second last!!

How do I code the following to cope with joint 9th!!?

Cheers

John
North Yorkshire UK


=IF($F$180=12,"",IF(F156=$F$175,"-2",IF(F156=$F$175+1,"-1",IF(F156=$F$176,"+
2",IF(AND(F156=$F$176-1,$F$177=1),"+1","")))))


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default If then help required for joint places in a rank

John

I can't give you a good, concrete answer because I don't know how your data
is arranged. However, if you have a score in column B, a name in column A,
then a formula like this column C would produce the result

=IF(B1=LARGE($B$1:$B$10,1),-2,IF(B1=LARGE($B$1:$B$10,2),-1,IF(B1=LARGE($B$1:
$B$10,9),1,IF(B1=LARGE($B$1:$B$10,10),2,0))))


--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"jp" wrote in message
...
Dear all

I posted this question on 3rd of Oct but it has dissappeared! I know there
have been problems with the servers so I am not aware of any solutions.
Sorry but here goes again.


In my golf spreadsheet I have a test for the 12 players as follows

If you are first then you lose 2 shots
If you are second you lose 1 shot
If you are last you get 2 shots back
and
If you are second last you get one shot back (even if there are a slack
handfull of you!!)

My problem is not 1st 2nd or last but second last!!

How do I code the following to cope with joint 9th!!?

Cheers

John
North Yorkshire UK



=IF($F$180=12,"",IF(F156=$F$175,"-2",IF(F156=$F$175+1,"-1",IF(F156=$F$176,"+
2",IF(AND(F156=$F$176-1,$F$177=1),"+1","")))))




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
NPV of cashflows to assess contribution to a joint venture ExcelMonkey Excel Worksheet Functions 2 November 20th 07 12:14 AM
Assigning people to places based on rank and preference Tongsy Excel Discussion (Misc queries) 7 August 3rd 07 06:01 PM
joint frequency capaula Excel Discussion (Misc queries) 0 April 26th 07 11:40 AM
Joint ranking (never seen a satisfactory answer!) [email protected] Excel Worksheet Functions 6 October 27th 05 06:04 PM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


All times are GMT +1. The time now is 05:11 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"