I have a bathroom fan light combo controlled by a rotary timer. Can I get the light in the fan to operate with the switch for the vanity light in the same bathroom? Both switches are side by side.
There is a major consideration that must be investigated before this can be answered in the positive. That is - Is the fan / light combo unit designed to support separate wiring feeds for the light and the fan. Many units do support this whilst some may not.
If your unit does support this then there is a second consideration. If the vanity light and the fan combo are on the same power feed from the main breaker panel then it is possible to entertain the idea that that the two lights can be interconnected to the same switches.
Since the two switches are in the same electrical box this is a good start if the prior considerations are met. The last criteria to look at is if there are already separate power feeds from the switch box to the fan/light combo in the ceiling. If not then it will be necessary to either replace the existing 2_wire+ground cable between the boxes with a 3_wire+ground cable OR to add an additional 2_wire+ground cable.
Once all that is in place the process of merging the two lights to one switch becomes one of pig tailing the correct sets of wires together in the switch box so the single switch can operate both of the lights.
With almost all relatively new (last 15 years) bath fan/light kits you will be able to do this. You simply wire vanity and light together with hot on switch and give fan timer.
To do you one better I have been installing lutron dimmers-timer in all of my new remodels. So the top half of the switch is simply a dimmer - we hook this up to the fan light. And the bottom half is a timer - hooked up to fan (if fan has a nightlight we hook this up here too). Meaning you can control all three without putting in a new box.