Forum Discussion
paul-cas1962
Aug 25, 2021Copper Contributor
Return a value based upon a cell colour
I need to assign three different values based upon three different cell colours
- Aug 25, 2021
The ASAPCELLCOLORINDEX function returns the fill color index of a cell. You can use this in an IFS or SWITCH formula.
Mmaayy999
Jun 15, 2022Copper Contributor
Thank you a lot, but the condition of the format is dynamic, which sums different range based on the cell index..😔
HansVogelaar
Jun 15, 2022MVP
That will make it complicated. I cannot offer a suggestion without seeing (a copy of) the workbook...
- Mmaayy999Jun 16, 2022Copper Contributor
Hi HansVogelaar, below is my conditional format details, to sum the cells value before current cell and check if more than the cell value in I column of this row...maybe some suggestions?
- HansVogelaarJun 16, 2022MVP
See the attached demo workbook. You'll have to allow macros.
- Mmaayy999Jun 16, 2022Copper ContributorThank you a lot! I will try it!!