Hi all,
I have been looking through the entire forum but I am still unable to find the position.
This is what I have done:
I am hoping to find the cell position of “IBG” in my excel file.
Please assist! Thank you.
Avene
Hi all,
I have been looking through the entire forum but I am still unable to find the position.
This is what I have done:
I am hoping to find the cell position of “IBG” in my excel file.
Please assist! Thank you.
Avene
Hi @avene,
Refer this post,
Find cell with String Value and get no. of row, name of column - #8 by arivu96
Regards,
Arivu
Hi Arivu!
I have tried looking at the post but i don’t quite understand…
Given that i only have one instance of “IBG” in the entire excel, how can I look for the cell position?
I have tried
how can i continue from there?
Read range gives output as datatable. So, please loop through datatable using “for each row” and try to find your value in specific cell as:
ibqposition=row().ToString. (column index can be also kept in loop)
Also, please increment your values for row as <1,2,3…> and column as <A,B,C,D…> within the loop to find the matching cell.
Hope it helps.
Hi!
Thanks for your reply I am trying to do that but i am faced with another problem - cuz my datatable doesn’t have a primary key… would it be possible for me to still find the cell position of a specific value?
Avene
Yes, however you need to decide that if the specific value is found in 3 cells of your table, which one to pick.
The method above follows a 2D matrix search, so, it will be searching for every cell with the value.