Hello-
I've created a sales spreadsheet and built two top ten sections, one for monthly leaders and one for yearly leaders. Within the two lists I have a column for rep name and a column for units sold. To display units sold in ranking order I used the Large function. Works fine. To display the reps name I used the following formula (I did not create it, I found it online):
=IF(ISNUMBER(U7),INDEX($D$19:$D$41,SMALL(IF($X$19:$X$41=U7,ROW($D$19:$D$41)-ROW($D$19)+1),COUNTIF(U$7:U7,U7))),"")
It worked great when I first used it but now when I try to change the column reference for unit sales number (from U to X) it returns a #VALUE error. The D column is referencing sales rep names. I don't understand where I went wrong. I realize that the reps names are in text but as I said it worked great the first time I built it. Any help is appreciated.
Bookmarks