Youre going to have to make pigtails. The source neutral and ground are spliced through to the fan location.

Ceiling Fan Remote With 2 Wires Doityourself Com Community
Wire fan to light switch. Connect the lighting wire typically blue to the black fan wire and the black ceiling wire. The fan control switch usually connects to the black wire and the light kit switch to the red wire of the 3 way cable. Switched lines and neutral connect to a 3 wire cable that travels to the lightfan outlet box in the ceiling. Wiring a fan and light to a single switch. Turn off the switch that controls the light and fan circuit. The fan has power when the switch is on while the fan speed and the light if the fan has one are controlled by pull chains on the fan itself or by a remote control device.
This is the most important part of any. Make sure the box is rated for a ceiling fan. In electrical work a pigtail is a collection of seamed wires along with a short. Connect black wires together. Second remove the light fixture in the room. Here a ceiling fan with a light kit is controlled with two 3 way switches.
You can do this in the switch box or by running a length of wire through the wall or attic. Turn the power back on and test the fan. With single switch wiring power to the fan is controlled by a standard single pole wall switch like a regular light switch. The operation involves making pigtails so its a good idea to know how to do that. The source hot wire is spliced to the black fan wire to hardwire it directly to the circuit and to a pigtail connecting the switch. In this wiring the source is at sw1 and 3 wire cable runs between each switch and the ceiling fan.
Connect the greencopper wires together. Connect white wires together. This black wire should lead to the fan. In this wiring the source is at the switch and 3 wire cable runs from there to the fan and light. With double switch wiring a fan with a light is connected to a double wall switch that controls power to the fan and the light separately. Ceiling fan 3 way switch wiring.
In this diagram the black wire of the ceiling fan is for the fan and the blue wire is for the light kit. 8 connect the new switchs. This is the same arrangement as the second diagram on this page with a fan in place of the light fixture. With a situation such as this it would be best to have a separate 3 wire cable from each ceiling fan to the switch box just in case the desired method of control will be changed this way you will have options where if you wire them parallel you would not. Tuck the wires back into the box. To wire an exhaust fan and light fixture to a single switch you have to find a way of connecting the fan and light.
How to wire a bathroom fan and light on one switch a word of caution. You can install a ceiling fan with a light in a room with a single light switch with a simple wiring trick. First turn off power to the fixture at the electrical panel. Connect the red wire on the new switch to the other black wire from the wall by hand twisting the exposed wiring ends together.