Smashwords actually does all the formatting for you. And they do a pretty good job. As long as you follow their template.
In my experience, I've found that using OfficeXP and then "Read on Reader" with "convert formatting" usually does an excellent job that can be downfed into Calibre and converted. That's how Beyond the Black was done.