Skip to main content
2 of 2
replaced http://craftcms.stackexchange.com/ with https://craftcms.stackexchange.com/

Turns out Twig has a nifty little attribute function that does the trick. Here's how it works:

{% for row in entry.table %}   
   {% set foo = attribute(entry, 'fieldHandle' ~ loop.index) %}
{% endfor %}

Big hat tip to Mr. Brad Bell for posting the original answer in Stack Exchange.