Scott Arfield and James Tavernier scored early in the second half as Rangers beat Galatasaray 2-1 at Ibrox, with the Turks pulling one back late on.
Odsonne Edouard was the matchwinner with a 70th-minute goal as Celtic defeated Sarajevo 1-0 away from home.
Both clubs can now look forward to Friday's draw for the group stage, which takes place at UEFA HQ in Nyon at 12 noon BST.