I have a question, obviously, otherwise i would not be asking it LOL. How can i sort a column from A to Z in an excel file?
I am trying to use the Sort table in an excel scope but when i run it i get Sort Table: The table does not exist.Note: if downloading the file just use a basic excel files with some names.ExcelFilter.xaml (5.1 KB)
First use Read Range activity to read the data from excel file and will give you output as DataTable and say ‘inputDT’.
And then try above expression and replace ColumnName with your required ColumnName you want to sort it based on that.
And we are assigned sorted data to new DataTable and say ‘sortDT’. And then use Write Range activity and pass this DataTable as input to it and write into Excel file.
Hi @balupad14, i am having a bit of confusion here, maybe i am not explaining what i need, please take a look at this excel fileSort from A to Z.xlsx (8.0 KB) , its just a simple file with some characters that represent names in a non order, ill i need is to sort the row so that it is sorted alphabetically from A to Z.
I see the sample project you uploaded for sorting columns.
But, in my case, I have already tables created in Excel, and by using that table, I am not able to sort the column.