Excel - Countif by Cell Value AND Cell Color

canuck_moose

New Member
Joined
Nov 3, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am helping to manage a local rec soccer league. I have a sheet in Excel for each team. On the sheet are the names of all of the other teams in a column. I want to record wins & losses, and then use cell color to indicate if it was a home or away game. I will use a W in the cell for a win and an L in the cell for a loss. My goal is to have a total win/loss calculation which is easy. I'd also like to have a Win/Loss calculation based on the cell color for Home/Away games. Is it possible to do a function that basically says countif the cell value in a range is "W" and the cell background color is Blue?


1699023278476.png
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
There is no function to count cell colors. If you have conditional formatting (CF) rules to set the color format, then use the same rules as the CF in your counting.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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