I am trying to get my robot to find an specific string variable inside a data table, and return the row number so I can write into other cells on the same row.
I’ve been using LookupDataTable, but I see that it is reading both the input and the pattern correctly, but the result (Rowindex) is incorrect:
IT seems to me like that its considering the “MagicAccount1” as the column header. That’s why you are getting the loop index as one less than the expected. From where are you getting the value to this data table? From an excel? If so, make sure to uncheck the headers option so that every row in excel will be considered as a row once its in a data table.
Thanks for your replies. I was sure I removed “add Headers” from all my read range variables, but turns out that one from the input had in fact the headers option on. I removed it and it is now working. Thanks a lot!