CHOOSE Question

snowsurfer

New Member
Joined
Feb 15, 2002
Messages
18
I was helped in other posts create a formula that evaluates your finish in a race and assigns points based on finish. Well I have run into a road block

We award points down to 20th place. I calculate it using the following code

Code:
=IF(N43="","",CHOOSE(N43,25,22,20,18,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1))

That works great. We also assign BUMP points that tells us when a racer needs to be moved to the next level of competition. You get 3 points for 1st, 2 for 2nd, and 3 for third. When I evaulate the finish and they got 4th or higher than the #VALUE is returned. This is the code I am using. How can I hide the #VALUE error if they get 4th or higher?

Code:
=IF(N43="","",CHOOSE(N43,3,2,1))

Should I just extend the code out like this

Code:
=IF(N43="","",CHOOSE(N43,3,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0))

We a
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Code:
=IF(AND(N43>0,N43<4),CHOOSE(N43,3,2,1),"")

OR...

Code:
=IF(N43="","",IF(AND(N43>0,N43<4),CHOOSE(N43,3,2,1),0))
 
Upvote 0
Thanks that worked. Is it possible to take it a step further. I mentioned in my first post that you get 3 for st, 2 for 2nd, 1 for 3rd. This is not true when less than 5 enter an event. If less than 5 enter the event you get half points. 1.5 for 1st, 1 for 2nd, .5 for third.

Can I take your formula and and a IF statement that adds up the finish to determine if there are more than 4 kids.

Something like
Code:
=IF(SUM(W6:W13)<=10,TRUE,FALSE)
Of course True would then take the finish of the rider and figure out hal points, false would see that there were enough riders for full points and would then calculate full points
test2.xls
VWXY
4Round6Round6TrophyPoints
5M1-M2OverallPoints
61-11253
7  
8  
92-22222
10  
113-33201
12  
13  
14 
15Round6 
16M1-M2Points 
171-11253
183-33201
192-22222
20  
21  
22  
235-44180
244-55160
25  
26 
27  
28  
29 
306-66150
31  
32  
33  
E-Street Fall 2005 Series
 
Upvote 0
I got it

=IF(SUM(H42:H58)<=10,IF(N68="","",IF(AND(N68>0,N68<4),CHOOSE(N68,1.5,1,0.5),0)),IF(N68="","",IF(AND(N68>0,N68<4),CHOOSE(N68,3,2,1),0)))
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top