Let’s say you are a beginner programmer and good with excel. If you are now doing a lot of excel jobs (and your manager agrees that you should do it) then you progress at excel and less at programming. So your buddies might get promoted to senior programmers while you stay the underpaid excel guy.
You should make sure that you get extra education to catch-up if people ask you to spend time on dead ends.