You cannot power up a MacBook with the lid closed, it needs the power button to be pressed or the lid to be opened. If, however, it is only sleeping, it can be woken with the lid closed, assuming you have an external display and keyboard attached, by tapping on the keyboard.
Hope this helps.