Dielectrophoresis on single-walled carbon nanotubes in surfactant suspensions has been demonstrated to separate metallic from semiconducting tubes by their different electric field-induced polarisabilities. Here we report that the interaction between SWNTs and the surfactant induces a nanotube surface conductance which gives rise to a unique electric field frequency dependence of the dielectrophoretic force acting on semiconducting SWNTs. We observe a surfactant concentration dependent crossover frequency enabling separation of metallic from semiconducting SWNTs at high frequency and deposition of metallic and semiconducting SWNTs at low frequency. Proof for the effectiveness of separation is given by a comparative Raman spectroscopy study on dielectrophoretically deposited tubes excited with two different wavelengths.