Where does the excess electricity from my solar panels go?
Pretend your panels are a water pump connected from a nearby pond (your roof) to a water tower (the grid).

The grid is a large reservoir that can simultaneously take and provide electricity.  This is because there are multiple sources and destinations for the electricity.  

If no one else was using electricity when you were providing it, your meter would not register outgoing electricity (credit).