Hi Team, I am trying to retrieve the last cell of a coulmn and in my excel sheet I have different lengths of coulmn… so I am not able to use the row count formula to get to the last cell of a specific column. Any help will be much appreciated.
Use Balareva EasyExcelActivities. Get last column and Get last row, use that to get the cell value.
Thanks Matt, I have seen that. but my requirement is to get to the last cell of a coulmn in a sheet where the number of rows in each coulmn is different. The code by Balareval takes the idex to the last row of the sheet where the length of the coulmn is maximum.
Lets assume the excel is read in into a datatable.
Find some demo on:
datatable - input:
creating following output:
find demo xaml here:
GetLastValueIndex_AllCols.xaml (10.8 KB)
ensure following dependency is set: