Powders can be safely returned from the bench to the containers they originally came from. No question there.
However, I would caution that just because two powder jugs have the same powder name doesn't mean that their contents can be safely mixed. If "tailing" as @EricBu suggests, I suggest that lot numbers on the two containers should also match.
Manufacturers warn against mixing powders. For example, a 2009 Reloader's Guide from Alliant includes this warning: "...do not attempt to blend salvaged powder with new powder or attempt to blend two types of powder to make a 'custom' blend."
Canister powders are themselves mixtures of various feedstocks. There is no way for handloaders to know how mixing powder from two lots of Bullseye, for example, might affect the pressures (for example) produced by the resulting mixture of two mixtures.
Even though most reloaders can't measure pressures, we CAN measure variations in velocities produced by different lots of the same name of powder. And perhaps those velocity variations from lot to lot might provide interesting information. So, some time ago, I decided to compare velocities produced by two lots of Bullseye. Here's what I found:
My recipe was for 9x19, using range brass, 115 grain Extreme CPRN, OAL 1.130", CCI 500 primers, loaded on an XL650 using the same adjustments, shot in an XD service model with a 4" barrel, on the same cold February day, with the same ambient conditions, over the same chronograph, etc.
luzyfuerza
The velocity difference was 51 fps, or 4.7%. This is more than three times the standard deviation for each load. Even with the low number of samples, I think that this difference is likely to be real.
I wanted to keep the velocity for the rounds loaded with Bullseye lot B similar to those loaded with Bullseye lot A, so I dropped the charge weight using the lot B powder down to 4.0 grains (a 7% reduction). This lower charge weight produced 1090 fps, which is just what I wanted.
This is one reason why I don't mix powders from different lots, even if they have the same powder name on the container.