This kind of thing is do-able using Excel but painful.
And likely to fall over if the Excel spreadsheet structure changes ,say an accidental extra column/cell or a string where it is expecting a number.
I suggest taking a look at
In your case, your query would be something like:
"select mounting,mains,'short circuit rating' where 'panel name' =" +panelname
In other words, you are looking up the values of the mounting, mains and short circuit rating columns based on the panel name