Hello,
I'm trying to make dynamic chart with top/bottom values switched with button. Here is what I have so far:
nGFIHX7.jpg
and Bottom:
42IT9OW.jpg
In column "Rank" I'm using =RANK(B2;$B$2:$B$16;IF($H$2=1;0;1)). Part with IF is for button switch. The rest is just index+match formulas. Everything would be fine and enough for the most part, unless values start repeating. So, I've got following problems:
1. When there are same values, rank formula just assign same number to it, e.g. 420 score is top, it appears twice and rank assigns number 1 to both, skipping number 2 and assigning number 3 to next biggest. This creates problem for index formula to find 2nd position.
2. In order to get a name of top/bottom values, right now my index+match formula is comparing the score with the name. When same values with different names appear, then there would be a problem to find it with this formula.
I'm attaching excel file for anyone who would like to see it.
What I need of this chart is to show top/bottom scores and names, even when values are the same. When there are let's say more than 4 values with same score, just show 3 in order of appearance or something like that. I'm not even sure if that's doable without visual basic?
Anyway, thank you for reading all of this. Any help is greatly appreciated.
Bookmarks