Countif with special criteria

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
660
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Looking for the Count of W/L (D:D) based on the MIN/MAX Seed (J:J) of the 2 teams playing (B:B) for the entire range (Rows 2-25).
Thank you.

NBA.xlsm
ABCDEFGHIJKLMNO
1DateTeamSPRDResultsMOVDiffSeed
25/1MIL4.5W1216.5CSFAway3
3BOS-4.5L-12-16.5Home2W/L record for Top seed of both teams
4GSW-1.5L1-0.5Away3
5MEM1.5W-10.5Home2get W/L per Seed of 2 playing teams
6PHI7.5L-146.5Away4for the entire range D:D
7MIA-7.5W14-6.5Home1CSFCSF
8DAL6L-7-1Away4Top Seed of 2 TeamsBottom Seed of 2 Teams
9PHO-6W71Home1WLWL
105/3MIL5L-23-18withCSFAway30010
11BOS-5W2318againstHome2TestTestTestTest
12GSW-1.5L-5-6.5againstAway3
13MEM1.5W56.5againstHome2
14PHI9L-16-7againstAway4Away = Even
15MIA-9W167withHome1Home = Odd
16DAL6L-20-14againstAway4
17PHO-6W2014againstHome1
185/5MIA-3L-20-23withCSFAway1
19PHI3W2023againstHome4
20PHO1L-9-8againstAway1
21DAL-1W98againstHome4
22BOS2Psh-20againstAway2
23MIL-2Psh20againstHome3
24MEM6.5L-30-23.5againstAway2
25GSW-6.5W3023.5withHome3
My Bets (3)
Cell Formulas
RangeFormula
I2:I25I2=IF(MOD(ROW(),2)=1,"Home","Away")
J2:J25J2=INDEX('Playoff Favs'!NBARank,MATCH('My Bets'!$B2,'Playoff Favs'!NBATeam,0))
L10L10=COUNTIFS(D2:D3,"=W",J2:J3,MIN(J2:J3))
M10M10=COUNTIFS(D2:D3,"=L",J2:J3,MIN(J2:J3))
N10N10=COUNTIFS(D2:D3,"=W",J2:J3,MAX(J2:J3))
O10O10=COUNTIFS(D2:D3,"=L",J2:J3,MAX(J2:J3))
Named Ranges
NameRefers ToCells
'Playoff Favs'!NBAEast='Playoff Favs'!$B$26:$B$35J2:J25
Playoffs!NBAEast='Playoff Favs'!$B$26:$B$35J2:J25
'Playoff Favs'!NBAEastRank='Playoff Favs'!$C$26:$C$35J2:J25
Playoffs!NBAEastRank='Playoff Favs'!$C$26:$C$35J2:J25
'Playoff Favs'!NBARank='Playoff Favs'!$C$26:$C$45J2:J25
Playoffs!NBARank='Playoff Favs'!$C$26:$C$45J2:J25
'Playoff Favs'!NBATeam='Playoff Favs'!$B$26:$B$45J2:J25
Playoffs!NBATeam='Playoff Favs'!$B$26:$B$45J2:J25
'Playoff Favs'!NBAWest='Playoff Favs'!$B$36:$B$45J2:J25
Playoffs!NBAWest='Playoff Favs'!$B$36:$B$45J2:J25
'Playoff Favs'!NBAWestRank='Playoff Favs'!$C$36:$C$45J2:J25
Playoffs!NBAWestRank='Playoff Favs'!$C$36:$C$45J2:J25
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,216,090
Messages
6,128,765
Members
449,467
Latest member
sdafasfasdf

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