Yes, or at least here is what I do.
I use Moodle
XML. I have an Excel worksheet with columns for the question name (say A) and the question text (say B) and then for the following elements of the
XML item (say E-J):
<-question type='cloze'>
="<-name><text><![CDATA["& B1 &"]]></text></name>"
="<-questiontext format='html'><text><![CDATA[" & C1 & "]]></text></questiontext>"
<-image></image>
<-penalty>0</penalty>
<-/question>
(Remove '-')
Note that the name and question text take their values from columns A and B.
In column D I aggregate the XML elements into one record as in
=E1&F1&G1&H1&I1&J1
All that is quite straightforward. Once I have all the data I simply copy column D and paste it into a text file between
<-?xml version="1.0"?>
<-quiz>
and
<-/quiz>
and
upload the file to Moodle. (Remove '-')
The tricky part is to get the tables into the data worksheet. For that I use another Excel file. One worksheet in that file contains formulas which take values from other worksheets and wrap them with HTML code for a table. I store each question in a different worksheet but in the same area and then I simply change a certain value on the first worksheet to display and convert a question into an HTML string (aggregated in one box) which I then copy and paste in the data worksheet.
If that may suit your need I can attach sample Excel files with the formulas I use (although the structure of your questions is much simpler than that of my questions and much simpler formulas may sufficient for your purpose).
Itamar