For extraction either use sap activities or get text activity
And to write the data to excel against each row…you can either write directly to datatable for correspondingn row using assign with currentrow("ColumnName") = "Completed" instead of completed can write the required number as well and write the data back to excel after loop
If columns are not present then before loop use add data column and add the columns you need
If you want to write to excel directly then wither use for eachr ow in excel and use same as above…or for loop has index property assign a variable to it and use it in write cell to find each row correpsonding cell
Eg: "D" + (index+2).ToString
Adding 2 because 1 is header and index starts from 0