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

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
How about
+Fluff New.xlsm
CDEFG
4NameMembertimeplacecalc points
5P1No131 
6P2yes13.25210
7P3yes14.139
8P4yes1548
9P5No165 
10P6yes16.2567
11P7yes2576
12P8No26.258 
13P9yes3095
14P10yesns  
Data
Cell Formulas
RangeFormula
F5:F14F5=IF($E5>9999,"",IF($C5="","",COUNTIFS($E$5:$E$999,"<"&$E5)+1))
G5:G14G5=IF(OR([@Member]="No",[@time]="ns"),"",CHOOSE(COUNTIF(D$5:D5,"Yes"),10,9,8,7,6,5,4,3,2,1))
 
Upvote 0
Thank you fluff, you helped me so much last week, this is an extension of that project. I really appreciate your help. I will try your suggestion.
 
Upvote 0
The formula for G5 works the way the example was presented - however, the ns could also be any alpha, so only calculate if there are numbers in the time column. Suggestion?
 
Upvote 0
If you can have more than ten members, use
+Fluff New.xlsm
CDEFG
4NameMembertimeplacecalc points
5P1No131 
6P2yes13.25210
7P3yes14.139
8P4yes1548
9P5No165 
10P6yes16.2567
11P7yes2576
12P8No26.258 
13P9yes3095
14P10yes31104
15P11yes32113
16P12yes33122
17P13yes34131
18P14yes35140
19P15yes36150
20P16yes37160
21P17yes38170
22P18yes39180
23P19yes40190
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(COUNTIF(D$5:D5,"Yes"),10,9,8,7,6,5,4,3,2,1),0))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
OK, I spoke to quickly, the formula you furnished for G5:G works as long as the Time is sorted Smallest to Largest, but when I sort it by Run number (used real time from the announcers booth) the points change.. Is there a way to calculate it ignoring the sort?
 
Upvote 0
What version of Excel are you using?
Please update your account details to show this, as it affects which functions you can use.
 
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,687
Members
449,249
Latest member
ExcelMA

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