As long as you have kept the lid tightly closed on the oil can or bottle then the remaining oil should be OK to use.
I know I find this kind of thing to be a right old PITA, when, like in the case of for instance my Renault Master, the sump capacity is greater than the largest standard sized...