In D2:
=IF(B2=B1,"","$"&MIN(IF($B$2:$B$18=B2,IF($C$2:$C$18<>0,$C$2:$C$18)))&"-$"&MAX(IF($B$2:$B$18=B2,IF($C$2:$C$18<>0,$C$2:$C$18))))
... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once entered, drag copy down.
Bookmarks