What you are asking for is a bigger job, than you are imagine right now...! If you want to do something like this, you can robally use macros, to get data from the php and fill them in you cells in excel...
only a wise man i know, can answer this fully... his name is google