A vacuum cleaner is provided with a canister assembly and a nozzle assembly. The nozzle assembly includes both a main inlet and an edge cleaning inlet. A dirt container and a fan and motor assembly/suction generator are carried on either the nozzle assembly or the canister assembly. An airflow system conveys a vacuum airstream from the nozzle assembly to the dirt container. The airflow system includes a control valve, a first conduit between the main inlet and the control valve, a second conduit between the edge cleaning inlet and the control valve and a third conduit between the control valve and the dirt container.