I am trying to find a formula to find the mode of the highlighted cells. The value inside cell D13 will determine the number of highlighted cells. If it is 3, 3 rows will be highlighted starting from cell H3. For example, if the highlighted cell contains 3 values B, B, and A. B will be returned to cell C13 as the mode value. I have attached a screenshot of my Excel, anyone can help me?
I want to find a formula to find the mode of the highlighted cells in excel
175 views Asked by StudentOfLife At
4
There are 4 answers
0
On
One thing you should realise about conditional formatting: it reads the value of a cell and as a result of that, it alters a formatting (like the background fill, which looks like highlighting).
I have the impression that you want to do just the opposite: read the formatting (like the highlighting) and as a result of that, change a value.
This is not the way conditional formatting works, and if this is indeed what you need, you might be forced to look for a VBA solution for that.


You could use: