Excel Formula for Colored cells

Copper Contributor

Hello see the attached screen shot is there a way to write a formula so that I can add up the colored cells per color?column F please advise me. 

5 Replies

@crazycaliguuy 

Perform any calculations based on color that's only with VBA programming, formulas work with values. But if you have some formal rules why this or that color is applied, such rules could be used for the calculations.

@Sergei Baklan well red equals dead jobs  green equals sold jobs and peach equals jobs bid pending

@crazycaliguuy 

Sorry, but that says me nothing. What it will be in Excel terms? For example, if cell in column C is equal to "Dead" then red, if equal to "Sold" then green, etc 

@Sergei Baklan wsell it would be as follows then

if cell in column F is red then equakls dead

if cell in column f is green it equals sold

if cell in column f is peach then equals bid / pending

@crazycaliguuy 

 

I meant opposite - if cell value is ... then ...

You may add one more column with the status which could be selected from drop-down menu: dead, sold, pending.

 

Base on values in this column you may color your table using conditional formatting and make some calculations taking status values as logical test.