Baseball system help W or L

Marcusandkylie

New Member
Joined
May 4, 2019
Messages
12
Hello,

Need help with this Baseball System, I need excel to automatically enter the W or L result based on the highest number in columns K or L, for example, Systems says New York (6.67) should beat Philadelphia (3.60) but New York lost and I manually entered L. I have faith someone here can crack this formula.

MLB TRIAL.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAG
1CORRECT RECORDREVERESED RECORD
2LEFT SIDE W/L643366.0336434.0
3RIGHT SIDE W/L425543.3554256.7
4
5OVER/UNDER5243454.7
6HOME BOYS683168.7
7
8DATEVISITORHOMETIME (ET)MONEYLINEMONEYLINEO/USYSTEM A - VISITORSYSTEM A - HOMEA. SCOREH. SCORECOMBINED RUNSGAME WINNERGAME WINNERSYSTEM B - VISITORSYSTEM B - HOME
92021-06-12SATANew York YNPhiladelphia4:05 PM-12410396.673.6010.27L7815OW15.338.4023.733LD-124-$ 620-$ 1,240
102021-06-12SATAKansas CityAOakland4:07 PM155-19093.003.566.56W21113OW16.003.4419.444LF-100-$ 500-$ 1,000
112021-06-12SATALos Angeles ANArizona4:10 PM-12110595.405.0010.40W8715OL19.6022.0041.6LD-100-$ 500-$ 1,000
122021-06-12SATNAtlantaNMiami4:10 PM-1851557.53.002.505.50L246UW16.0010.5026.5LD-185-$ 925-$ 1,850
132021-06-12SATABaltimoreATampa Bay4:10 PM190-2557.50.674.505.17W459OW6.3313.5019.833WF100$ 500$ 1,000
142021-06-12SATAChicago WADetroit4:10 PM-20517094.002.806.80W15217OL9.0010.2019.2LD-100-$ 500-$ 1,000
152021-06-12SATNColoradoNCincinnati4:10 PM145-17093.8913.7517.64W31013OW4.11-0.753.3611LF-100-$ 500-$ 1,000
162021-06-12SATNPittsburghNMilwaukee4:10 PM265-3257.52.675.257.92W4711OW4.337.7512.083WF100$ 500$ 1,000
172021-06-12SATNSan DiegoNNew York M4:10 PM-14011571.112.633.74W145UW4.899.3814.264WD115$ 575$ 1,150
182021-06-12SATASeattleACleveland4:10 PM100-1208.50.0012.2512.25W459OW7.0010.7517.75WF100$ 500$ 1,000
192021-06-12SATATorontoABoston4:10 PM-105-115108.895.3314.22W729UL17.115.6722.778WF100$ 500$ 1,000
202021-06-12SATAHoustonAMinnesota7:15 PM-1301109.50.672.673.33W257UW13.334.3317.667LD-130-$ 650-$ 1,300
212021-06-12SATNSan FranciscoNWashington2:05 PM-17414560.440.000.44L022UW3.564.007.5556WD145$ 725$ 1,450
222021-06-12SATNSan FranciscoNWashington7:15 PM-12010070.001.331.33L213UL8.004.6712.667WD100$ 500$ 1,000
232021-06-12SATNSt. LouisNChicago C7:15 PM160-1908.55.0010.0015.00W279OW8.00-3.005LF-100-$ 500-$ 1,000
242021-06-12SATATexasNLos Angeles D10:10 PM232-2817.50.4424.0024.44L12113OL18.56-9.009.5556WF232$ 1,160$ 2,320
252021-06-13SUNANew York YNPhiladelphia1:05 PM110-1328.57.0011.2018.20W077UW11.0012.8023.8WF100$ 500$ 1,000
262021-06-13SUNNSan FranciscoNWashington1:05 PM-108-1128.50.750.501.25L055UW23.258.5031.75LF-108-$ 540-$ 1,080
272021-06-13SUNNAtlantaNMiami1:10 PM108-1297.51.564.005.56L6410OL9.446.0015.444WF108$ 540$ 1,080
282021-06-13SUNABaltimoreATampa Bay1:10 PM156-18782.675.638.29W178PW5.3317.3822.708WF100$ 500$ 1,000
292021-06-13SUNAChicago WADetroit1:10 PM-227189921.671.1122.78W415UL5.3313.8919.222LD-100-$ 500-$ 1,000
302021-06-13SUNNColoradoNCincinnati1:10 PM136-1649.52.3317.5019.83W268UW9.673.5013.167LF-100-$ 500-$ 1,000
312021-06-13SUNNSan DiegoNNew York M1:10 PM-13211080.672.503.17L7310OL9.334.5013.833WD100$ 500$ 1,000
322021-06-13SUNASeattleACleveland1:10 PM202-2437.53.204.007.20L628OL22.8012.0034.8WF202$ 1,010$ 2,020
332021-06-13SUNATorontoABoston1:10 PM-133111107.781.118.89W18422OL3.2212.8916.111LD-100-$ 500-$ 1,000
342021-06-13SUNAHoustonAMinnesota2:10 PM-1801459.51.115.006.11L14317OL5.8910.0015.889LD-100-$ 500-$ 1,000
352021-06-13SUNNPittsburghNMilwaukee2:10 PM156-1878.54.447.0011.44W257UW18.565.0023.556LF-100-$ 500-$ 1,000
362021-06-13SUNAKansas CityAOakland4:07 PM173-2088.51.1119.2520.36W369OW14.89-2.2512.639LF-100-$ 500-$ 1,000
372021-06-13SUNALos Angeles ANArizona4:10 PM-1371149.510.677.7818.44W10313OL8.33-0.787.5556WD100$ 500$ 1,000
382021-06-13SUNATexasNLos Angeles D4:10 PM195-235822.670.6723.33L358PW-7.6711.333.6667WF100$ 500$ 1,000
392021-06-13SUNNSt. LouisNChicago C7:00 PM109-1319.51.114.385.49W022UW13.898.6322.514LF-100-$ 500-$ 1,000
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
Y8Cell Valuebetween 8.01 and 3.888textNO
X8Cell Valuebetween 8.01 and 3.888textNO
L8Cell Valuebetween 8.01 and 3.888textNO
Y7,K8:K21Cell Valuebetween 8.01 and 3.888textNO
L22Other TypeIcon setNO
Z22Other TypeIcon setNO
X22Other TypeIcon setNO
I1:I4,I7Other TypeIcon setNO
Z1,Z4,Z7Other TypeIcon setNO
K1:K4,K7Other TypeIcon setNO
Z8,AP1:AP7Other TypeIcon setNO
I6Other TypeIcon setNO
K6Other TypeIcon setNO
Y22Cell Valuebetween #REF! and #REF!textNO
Y22Other TypeColor scaleNO
K22Cell Valuebetween 8.01 and 3.888textNO
Q6Cell Valuebetween 4 and 5textNO
Q1:Q4,Q7Cell Valuebetween 4 and 5textNO
F1:F3,F6:F92Cell Valuecontains "Cleveland"textNO
F1:F3,F6:F92Cell Valuecontains "Washington"textNO
F1:F3,F6:F92Cell Valuecontains "Colorado"textNO
F1:F3,F6:F92Cell Valuecontains "Arizona"textNO
F1:F3,F6:F92Cell Valuecontains "Texas"textNO
F1:F3,F6:F92Cell Valuecontains "Boston"textNO
F1:F3,F6:F92Cell Valuecontains "Minnesota"textNO
F1:F3,F6:F92Cell Valuecontains "Philadelphia"textNO
F1:F3,F6:F92Cell Valuecontains "New York M"textNO
F1:F3,F6:F92Cell Valuecontains "San Francisco"textNO
F1:F3,F6:F92Cell Valuecontains "Los Angeles D"textNO
F1:F3,F6:F92Cell Valuecontains "San Diego"textNO
F1:F3,F6:F92Cell Valuecontains "Miami"textNO
Y23:Y92,AO1:AO7,Y9:Y21Cell Valuebetween #REF! and #REF!textNO
Y23:Y92,AO1:AO7,Y9:Y21Other TypeColor scaleNO
AF3Cell Valuebetween 8.01 and 3.888textNO
AE2Cell Valuebetween 8.01 and 3.888textNO
AF2Cell Valuebetween 8.01 and 3.888textNO
AD3Cell Valuebetween 8.01 and 3.888textNO
Y3Cell Valuebetween 8.01 and 3.888textNO
Z3Cell Valuebetween 8.01 and 3.888textNO
X2Cell Valuebetween 8.01 and 3.888textNO
Z2Cell Valuebetween 8.01 and 3.888textNO
Y1,Y4,K23:K92Cell Valuebetween 8.01 and 3.888textNO
X23:X92,X9:X21Other TypeIcon setNO
Z23:Z92,Z9:Z21Other TypeIcon setNO
L23:L92,L9:L21Other TypeIcon setNO
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
N Column =IF($K9 > $L9, "", "W")
O Column =IF($K9 > $L9, "W", "")
 
Upvote 0
I'm not entirely sure what you're trying to do. Are you trying to determine whether the team will win based on their chances of winning as indicated in Columns K and L? Are you changing their win or loss status manually based on the scores in P and Q?

In the N column, you can just enter this formula.

=IF($K1>$L1,"W","")

In the O column, you can just enter this formula.

=IF($K1>$L1,"","L")
 
Last edited:
Upvote 0
I'm still trying to figure out the logic here because I assumed that if A. SCORE was greater than H. SCORE, a "W" would appear in Column N, but that doesn't seem to be the case so I'm still not entirely sure how the logic is supposed to work.
 
Upvote 0
For example, if I placed a $1,000 wager on New York because the number in Column K is greater than column L, I would go to bed crying because Philly won 8-7.
If I placed $1,000 on all the games on 2021-06-12. Based on the scores (columns P and Q) my overall W/L record would be 11-5 because placing bets on teams on whichever number is greater in column K or L.

I feel like the logic should be a LARGE function, or could be an IF with K, L, P and Q in the function bar.

=LARGE(range,1) // 1st largest
=LARGE(range,2) // 2nd largest
=LARGE(range,3) // 3rd largest
 
Upvote 0
Oh, OK. Just to be sure, for every game, you are going to choose the team with highest probability of winning, and if they don't win, you lose money. These formulas should work for you.

In Column N, enter this formula.

=IF(AND(MATCH(LARGE(K9:L9,1),K9:L9,0)=1,MATCH(LARGE(P9:Q9,1),P9:Q9,0)=1),"W",IF(AND(MATCH(LARGE(K9:L9,1),K9:L9,0)=2,MATCH(LARGE(P9:Q9,1),P9:Q9,0)=2),"W",""))

In Column O, enter this formula.

=IF(N9="","L","")

Let me know if this works for you.

Cheers!

Antman
 
Upvote 0

Forum statistics

Threads
1,223,157
Messages
6,170,420
Members
452,325
Latest member
BlahQz

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