VLOOKUP plus Conditional Formatting

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Not sure if this is do-able or even clearly explain-able.

I have a fantasy baseball spreadsheet that calculates the number of correct daily picks for 20 people

I have each person picks labeled as the teams "2nd name" (i.e. Red Sox, Yankees, Mets, Dodgers)

I then have the scores from each day/nights games uploaded to my spreadsheet each morning.

They come over as team name in column A and # of runs in column B
I then with a IFERROR/VLOOKUP in column C label the teams with just their 2nd name to match what it is in the pick table

(A80) Chicago White Sox (B80) 1 (C80) White Sox
(A81) Boston Red Sox (B81) 0 (C82) Red Sox

This format is continued down for all the games results from the previous day

The example of the table is

(B1) Name (C1) Name (D1) Name
(B2) White Sox (C2) Red Sox (D2) Red Sox

Is there ANY logic (Conditional formatting?) that I can use that will check cells B80 & B81 and determine the higher score and then take the label of that higher scoring team in either cell C80 or C81 and put a 1 if they got it correct and a 0 if they didn't? In this case in cell B2 would be a "1" and C2 and D2 would be a "0". I have the columns totaled at the bottom to determine # of wins and # of losses.

Obviously I will copy this format through out my table for all participants and their picks. Just trying to save time by having the spreadsheet use the data I am uploading to it to tell me which person did or did not have the correct pick.

I'd though I try to see if anyone had any suggestions.

Thanks,
James
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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