There is one bus daily to Huangshan City from Shanghai, and two daily returns:
The first leaves Shanghai at 16:00 and arrives in Huangshan at 24:00 (RMB111 for a soft seat)
The return buses (Huangshan-Shanghai) leave at 05:40 and 19:10 and take around 10hrs (RMB60). Buses leave from opposite the Huangshan train station, and tickets can be bought from here
Getting There via Nanjing: Although you can leave for the Mountain on Friday morning, the best option is to get in to Nanjing for the 10pm Nanjing-Huangshan train. You can take either bus or train. Buses leave for Nanjing from the Hangzhou Road Bus Station, Shanghai, and take around three and a half hours. We recommend that you take the last bus at 17:30 (Daewoo RMB73, Nissan RMB86). You can then take a taxi (RMB10) to the nearby Nanjing train station (tickets can most easily be bought in the Station Square, through the train station x-ray machines). Take train No.2521 to Huangshan City/Tunxi, leaving at 22:18 (RMB21 hardseat, RMB61 hardsleeper, 8-9 hours)
Related Informatin

