@Yoshi I think some logic is missing, with formulae or i might not getting why you are using two loop.
As per this formula num_folio=contenido_archivo_folios[“Hoja1”] + i + [“Folio”]
you want to increment the value of Folio with i. Is this correct?
If yes, then use formula like this, num_folio=contenido_archivo_folios[“Hoja1”][i] [“Folio”] +i
I changed the formula of num_folio to =contenido_archivo_folios[“Sheet1”][i][“Folio”] and of nom_aseguradora by contenido_archivo_folios[“Sheet1”][j][“Aseguradora”] and the value it assigns to them is correct. Thanks
Now I need to increment the value of i and j so in the next loop will extract the value from the next position in the column