New Contributor

# Need Help with Scoring Formula Based on Cell Color

So I hit a road block on a large spreadsheet (300+ mb) that I've been working on.

I've used conditional formatting to color code cells in 15-20 columns. I want to create a formula that will generate a score for that row, based on values that I assign to different colors. Some of the scores for the same color would vary based on the column. For example, a blue cell might be worth 5 in column M but 3 in column BC.

Here's an example of my scoring (using random columns and scores for illustrative purposes):

• Column A would be excluded completely
• Blue cells (except column M) = 3
• Blue cells in column M = 6
• Green cells (except column M) = 4
• Green cells in column M = 10
• Yellow cells (except column M) = 2
• Yellow cells in column M = 4
• Orange cells (except column M) = 1
• Orange cells in column M = 2

I would then have a cell at the beginning of the row that would tally up those scores and would be color-coded itself, using conditional formatting.

Can anyone help point me in the right direction?

Thanks.

4 Replies

# Re: Need Help with Scoring Formula Based on Cell Color

Since you used Conditional Formatting to set the colors, one has to ask (at least I have to ask) what are the values in those cells, values that create the conditions that generate the various colors, and what creates THOSE values?
Because it may be easiest to do the scoring based on whatever those underlying formulas are in the first place.
It would help, in other words, if you gave the bigger picture: what's the context in which this fancy stuff is taking place?

# Re: Need Help with Scoring Formula Based on Cell Color

Thanks Mathetes. You are correct that the CF is using formulas, however I have 70+ columns that each use 1-4 CF formulas, so trying to write a formula which would check each column for the color, give a value to that cell based on color, and then add all those values together is beyond my skill set.

# Re: Need Help with Scoring Formula Based on Cell Color

I think you may have missed the second part of my question/observation:

I had written "one has to ask (at least I have to ask) what are the values in those cells, values that create the conditions that generate the various colors, and what creates THOSE values?"

The most helpful thing you could do at this point is actually upload your spreadsheet, or a sampling of it. Otherwise, anybody out here is kind of working in the dark. Your description gives at best a cloudy idea of what you're working with--words alone have their limitation. And an image of what you're working with--despite the cliche about an image being worth a thousand words--an image alone wouldn't be much better. We need to see the underlying reality.

# Re: Need Help with Scoring Formula Based on Cell Color

My apologies for misreading that and not answering the question. Some of the CF is based on numerical values, others are IF formulas based on cell text/content, and some are a combination of those.

Attached is a very tiny selection from one of the worksheets with over half the columns removed.