How to sum cells that are colored with conditional formatting?

Noxqss38242

Board Regular
Joined
Sep 15, 2017
Messages
223
Office Version
  1. 2016
Have a cell range D7:AB36
Cells will randomly highlight based on another cell's entered data.
How can I auto sum each column's cells based on if that cell is highlighted with conditional formatting?
So essentially only sum the colored cells per column.

Thank you in advance!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
What are the criteria to highlight the cells?
The criteria can you use in a SUMIF or SUMIFFS to sum your total.
 
Upvote 0
There are 5 different criteria that when selected by a "Form Control Check Box" cells will highlight automatically so the coding is quite a bit.

=AND(D7=MAX(D$7:AB$36),$B$3=TRUE)

That one is one of the 5 different conditional formatting.
2 of the conditions are for the rows in the range, 2 conditions are for the columns in the range, and 1 condition is for the entire range.
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,755
Members
449,049
Latest member
excelknuckles

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