Formula Calc Value with Criteria

03856me

Active Member
Joined
Apr 4, 2008
Messages
297
I have this contestant worksheet that is repeated many many times, that calculates the "place" based on "time" (column F), which works perfectly. Then I need to calculate the points awarded for members only. I have no problem calculating the points but NOT excluding non-members and blank time. I thought about adding a column calculating the place with the criteria, but the user is adamant that can not happen. Could you please help me add to my current formula for "calc points" or if there is a better way, I am open to that as well.

I cannot change the "Place" column becasue it is correct and is posted as the results of the event. I have added the last two columns (I & J) for this post to show what the correct points (answer) should be.

The formula in column F (Place) =IF($E5>9999,"",IF($C5="","",COUNTIFS($E$5:$E$999,"<"&$E5)+1))
The formula in column G (calc points) =IF([@Member]="No","",IF([@Place]=1,10,IF([@Place]=2,9,IF([@Place]=3,8,IF([@Place]=4,7,IF([@Place]=5,6,IF([@Place]=6,5,IF([@Place]=7,4,IF([@Place]=8,3,IF([@Place]=9,2,IF([@Place]=10,1,0)))))))))))

1597946901547.png
 

Attachments

  • 1597946778723.png
    1597946778723.png
    20.9 KB · Views: 5
Thanks for that, try
+Fluff New.xlsm
CDEFG
4NameMembertimeplacecalc points
5P1No131 
6P2yes13.25210
7P3yes14.139
8P4yes1548
9P5No165 
10P6yes16.2567
11P7yes2576
12P8No26.258 
13P9yesns  
14P10yes3195
15P11yes32104
16P12yes33113
17P13yes34122
18P14yes35131
19P15yes36140
20P16yes37150
21P17yes38160
22P18yes39170
23P19yes40180
24P20yesns  
Data
Cell Formulas
RangeFormula
F5:F24F5=IF($E5>9999,"",IF($C5="","",COUNTIFS($E$5:$E$1009,"<"&$E5)+1))
G5:G24G5=IF(OR([@Member]="No",[@time]="ns"),"",IFERROR(CHOOSE(COUNTIFS([Member],"Yes",[place],"<"&[@place])+1,10,9,8,7,6,5,4,3,2,1),0))


Don't forget to update your account details to show your version of Excel. ;)
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,062
Messages
6,122,925
Members
449,094
Latest member
teemeren

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