Conditional formatting

Rock5150

Board Regular
Joined
Nov 16, 2012
Messages
76
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet that contains net golf scores with different partners. I want to know if there is a way if i enter names as listed in the spreadsheet by pairing if it can color code the cell in yellow. I would enter the names in two columns A and B in a separate tab. Then somehow only highlight the scores where there is two partners listed in the separate tab. I attached the spreadsheet here however i can't remember that there was a unique way to attach docs in this forum. The area needing highlighting if the pairs are listed is column X to CT.

I used the add in and only copies a portion. If there is a formula or conditional formatting then i can copy and apply to rest of cells.

And to apply a conditional formatting and copy to other cells, its format painter correct? if there is a fast way to copy conditional formatting to other cells quickly let me know.

The goal is once i get the scores highlighted i can then take it from there and pick the MIN score for the winner.

Alston JamesAnderson EricArchuleta MichaelBaker BeaBledsoe DarrylBolden AnthonyBooker RichardBowie AnthonyBrister AntonioBrown KendallCarter MelvinCarter RickClayton RoyalColebrook JamesColebrook SeanCrawford PatDavis MurryDiamond LorenzoDiaz MarioDubose DamitoinEdmonds ScottEvans BookerGardner Mary
Alston James64677171656668667066666467676567756772716768
Anderson Eric64666365616466636461636064646164676366656263
Archuleta Michael67666567636369636663626266656366716367676366
Baker Bea71636569646669656663646266656567726668666868
Bledsoe Darryl71656769646773676964676469676568776971736770
Bolden Anthony65616364646266616363625962646164686166636564
Booker Richard66646366676267646564676066646866766868676869
Bowie Anthony68666969736667686964666369677067816672756874
Brister Antonio66636365676164686660616067656264706566666567
Brown Kendall70646666696365696666646569656767746868696669
Carter Melvin66616363646364646066626062636366716565656666
Carter Rick66636264676267666164626263646367756868726771
Clayton Royal64606262645960636065606261636062676561656263
Colebrook James67646666696266696769626361666566736868686768
Colebrook Sean67646565676464676565636463666267706667686667
Crawford Pat65616365656168706267636360656266756468676669
Davis Murry67646667686466676467666762666766746767686870
Diamond Lorenzo75677172776876817074717567737075747575807680
Diaz Mario67636366696168666568656865686664677567707070
Dubose Damitoin72666768716668726668656861686768677567716870
Edmonds Scott71656766736367756669657265686867688070716775
Evans Booker67626368676568686566666762676666687670686771
Gardner Mary68636668706469746769667163686769708070707571
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
If the 2 names are in Sheet5!A1:A2 like so:

Book4
A
1Archuleta Michael
2Clayton Royal
Sheet5


Then you can use this CF formula:

Book4
ABCDEFGHIJKLMNOPQRSTUVWX
1Alston JamesAnderson EricArchuleta MichaelBaker BeaBledsoe DarrylBolden AnthonyBooker RichardBowie AnthonyBrister AntonioBrown KendallCarter MelvinCarter RickClayton RoyalColebrook JamesColebrook SeanCrawford PatDavis MurryDiamond LorenzoDiaz MarioDubose DamitoinEdmonds ScottEvans BookerGardner Mary
2Alston James64677171656668667066666467676567756772716768
3Anderson Eric64666365616466636461636064646164676366656263
4Archuleta Michael67666567636369636663626266656366716367676366
5Baker Bea71636569646669656663646266656567726668666868
6Bledsoe Darryl71656769646773676964676469676568776971736770
7Bolden Anthony65616364646266616363625962646164686166636564
8Booker Richard66646366676267646564676066646866766868676869
9Bowie Anthony68666969736667686964666369677067816672756874
10Brister Antonio66636365676164686660616067656264706566666567
11Brown Kendall70646666696365696666646569656767746868696669
12Carter Melvin66616363646364646066626062636366716565656666
13Carter Rick66636264676267666164626263646367756868726771
14Clayton Royal64606262645960636065606261636062676561656263
15Colebrook James67646666696266696769626361666566736868686768
16Colebrook Sean67646565676464676565636463666267706667686667
17Crawford Pat65616365656168706267636360656266756468676669
18Davis Murry67646667686466676467666762666766746767686870
19Diamond Lorenzo75677172776876817074717567737075747575807680
20Diaz Mario67636366696168666568656865686664677567707070
21Dubose Damitoin72666768716668726668656861686768677567716870
22Edmonds Scott71656766736367756669657265686867688070716775
23Evans Booker67626368676568686566666762676666687670686771
24Gardner Mary68636668706469746769667163686769708070707571
Sheet4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:X24Expression=MATCH($A2,Sheet5!$A$1:$A$2,0)<>MATCH(B$1,Sheet5!$A$1:$A$2,0)textNO
 
Upvote 0
If the 2 names are in Sheet5!A1:A2 like so:

Book4
A
1Archuleta Michael
2Clayton Royal
Sheet5


Then you can use this CF formula:

Book4
ABCDEFGHIJKLMNOPQRSTUVWX
1Alston JamesAnderson EricArchuleta MichaelBaker BeaBledsoe DarrylBolden AnthonyBooker RichardBowie AnthonyBrister AntonioBrown KendallCarter MelvinCarter RickClayton RoyalColebrook JamesColebrook SeanCrawford PatDavis MurryDiamond LorenzoDiaz MarioDubose DamitoinEdmonds ScottEvans BookerGardner Mary
2Alston James64677171656668667066666467676567756772716768
3Anderson Eric64666365616466636461636064646164676366656263
4Archuleta Michael67666567636369636663626266656366716367676366
5Baker Bea71636569646669656663646266656567726668666868
6Bledsoe Darryl71656769646773676964676469676568776971736770
7Bolden Anthony65616364646266616363625962646164686166636564
8Booker Richard66646366676267646564676066646866766868676869
9Bowie Anthony68666969736667686964666369677067816672756874
10Brister Antonio66636365676164686660616067656264706566666567
11Brown Kendall70646666696365696666646569656767746868696669
12Carter Melvin66616363646364646066626062636366716565656666
13Carter Rick66636264676267666164626263646367756868726771
14Clayton Royal64606262645960636065606261636062676561656263
15Colebrook James67646666696266696769626361666566736868686768
16Colebrook Sean67646565676464676565636463666267706667686667
17Crawford Pat65616365656168706267636360656266756468676669
18Davis Murry67646667686466676467666762666766746767686870
19Diamond Lorenzo75677172776876817074717567737075747575807680
20Diaz Mario67636366696168666568656865686664677567707070
21Dubose Damitoin72666768716668726668656861686768677567716870
22Edmonds Scott71656766736367756669657265686867688070716775
23Evans Booker67626368676568686566666762676666687670686771
24Gardner Mary68636668706469746769667163686769708070707571
Sheet4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:X24Expression=MATCH($A2,Sheet5!$A$1:$A$2,0)<>MATCH(B$1,Sheet5!$A$1:$A$2,0)textNO

Hi eric,

Let say i have different names and pairing where they participated in the low net game. Would i be able to say have 10, 20 or more of names. I was thinking if i did it so partner 1 is column A and partner 2 is column B, then i can have multiple yellow cells on my spreadsheet. so i can have different combos with diff cells highlighted. In the example, i'm fine with it highlighting the two numbers even though its the same people. i won't worry about that.
 
Upvote 0
How about this?

Book4
AB
1Player 1Player 2
2Archuleta MichaelClayton Royal
3Bledsoe DarrylBolden Anthony
4Colebrook JamesBooker Richard
5
6
Sheet5


and

Book4
ABCDEFGHIJKLMNOPQRSTUVWX
1Alston JamesAnderson EricArchuleta MichaelBaker BeaBledsoe DarrylBolden AnthonyBooker RichardBowie AnthonyBrister AntonioBrown KendallCarter MelvinCarter RickClayton RoyalColebrook JamesColebrook SeanCrawford PatDavis MurryDiamond LorenzoDiaz MarioDubose DamitoinEdmonds ScottEvans BookerGardner Mary
2Alston James64677171656668667066666467676567756772716768
3Anderson Eric64666365616466636461636064646164676366656263
4Archuleta Michael67666567636369636663626266656366716367676366
5Baker Bea71636569646669656663646266656567726668666868
6Bledsoe Darryl71656769646773676964676469676568776971736770
7Bolden Anthony65616364646266616363625962646164686166636564
8Booker Richard66646366676267646564676066646866766868676869
9Bowie Anthony68666969736667686964666369677067816672756874
10Brister Antonio66636365676164686660616067656264706566666567
11Brown Kendall70646666696365696666646569656767746868696669
12Carter Melvin66616363646364646066626062636366716565656666
13Carter Rick66636264676267666164626263646367756868726771
14Clayton Royal64606262645960636065606261636062676561656263
15Colebrook James67646666696266696769626361666566736868686768
16Colebrook Sean67646565676464676565636463666267706667686667
17Crawford Pat65616365656168706267636360656266756468676669
18Davis Murry67646667686466676467666762666766746767686870
19Diamond Lorenzo75677172776876817074717567737075747575807680
20Diaz Mario67636366696168666568656865686664677567707070
21Dubose Damitoin72666768716668726668656861686768677567716870
22Edmonds Scott71656766736367756669657265686867688070716775
23Evans Booker67626368676568686566666762676666687670686771
24Gardner Mary68636668706469746769667163686769708070707571
Sheet4
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:X24Expression=COUNTIFS(Sheet5!$A$2:$A$50,$A2,Sheet5!$B$2:$B$50,B$1)textNO
 
Upvote 0
Solution

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

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