It may not be so simple but this thread is considered by most here the ‘de facto’ reference for VLANs on RouterOS.
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1
Once you get the gist of it, it’s actually not that difficult.