Looping forms with id field array

I have a table in my web where each record contains several fields for a form, in each field will have an object name in the form of an array. I want to add external data (excel) and repeat adding data according to the data in excel. please how i implement test based on data count in excel