Excel ordenar

hola, quien me puede ayudar diciendo como puedo ordenar una columna de mayor a menor o de A a Z, en un excel ya creado, no quiero crear un nuevo datatable.

Sort on the basis of what exactly?
Alphabetical? Ascending/Descending?
If it is A to Z, the columns in Excel are already numbered A to Z.


esa columna de mayor a menor

Hola,

Lo puedes hacer con Sort Range o Sort DataTable

Activities - Sort Range

Activities - Sort Data Table

Hi @mively

You can use the Sort Range Activity.

It must be used inside the Use Excel Activity, inside the Excel Process Scope

The Sample Input

The Flow:

The Output:

Explanation:

  1. Specify the Sheet Name.
  2. The Sort By Column will Not be visible initially. You have to click Add sort Column
  3. Enter the Column Name
  4. Choose between Ascending and Descending

If this solves your query, Do mark it as a solution
Happy Automation :star_struck:

2 Likes

se puede mover todo menos la ultima fila? ya que es el total de todo

Yes. That is how the Sort Range works

mi pregunta es, se puede mover todo dejando la ultima fila quita, ya que calcula el total de todo?

Could you send Screenshots of the Input and Output that you expect. I don’t seem to understand what you are asking. :sweat_smile:

necesito que lo ordenene de mayor a menor, eso ya esta hecho, pero no quiero que mueva la fila totales, para mostrar el total

To avoid the movement of the Total Row, Sort using Table instead of Sheet.

Sample Input:

The previous solution:
In the Sort Range, if you have Range as Excel.Sheet(“Sheet1”), you will get the following result:

To avoid the movement of the Total Row, Do the following:

  1. Get the Table name from Excel:
  2. Replace the Range Excel.Sheet("Sheet1) with Excel.Table(“Table1”).

The Output: The output will not move the Total Row.

Is your query answered now? :star_struck:

hice lo mismo que tu, pero sigue moviendo Totales hacia arriba

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.