Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ordenar catalogo Contable

publicado

Hola mi problema es el siguiente

Trato de ordenar los datos de acuerdo a los niveles de un catalogo contable

Aqui el ejemplo

Este es el Orden deseado, es decir que va por niveles las cuentas del 100 es 1001, 1002, 1003 etc

[TABLE=width: 71]

[TR]

[TD]100[/TD]

[/TR]

[TR]

[TD]10001[/TD]

[/TR]

[TR]

[TD]10001001[/TD]

[/TR]

[TR]

[TD]10001002[/TD]

[/TR]

[TR]

[TD]10001008[/TD]

[/TR]

[TR]

[TD]10001051[/TD]

[/TR]

[TR]

[TD]10003[/TD]

[/TR]

[TR]

[TD]10003008[/TD]

[/TR]

[TR]

[TD]10003009[/TD]

[/TR]

[TR]

[TD]10003010[/TD]

[/TR]

[TR]

[TD]10003011[/TD]

[/TR]

[TR]

[TD]10003014[/TD]

[/TR]

[TR]

[TD]10003025[/TD]

[/TR]

[TR]

[TD]10003026[/TD]

[/TR]

[TR]

[TD]10003037[/TD]

[/TR]

[TR]

[TD]10003071[/TD]

[/TR]

[TR]

[TD]10003075[/TD]

[/TR]

[TR]

[TD]10003082[/TD]

[/TR]

[TR]

[TD]10003083[/TD]

[/TR]

[TR]

[TD]10003501[/TD]

[/TR]

[TR]

[TD]10003502[/TD]

[/TR]

[TR]

[TD]10003998[/TD]

[/TR]

[TR]

[TD]10003999[/TD]

[/TR]

[TR]

[TD]10004[/TD]

[/TR]

[TR]

[TD]10004001[/TD]

[/TR]

[TR]

[TD]10004010[/TD]

[/TR]

[TR]

[TD]10004018[/TD]

[/TR]

[TR]

[TD]10004021[/TD]

[/TR]

[TR]

[TD]10005[/TD]

[/TR]

[TR]

[TD]10005007[TABLE=width: 71]

[TR]

[TD]100[/TD]

[/TR]

[TR]

[TD]10001[/TD]

[/TR]

[TR]

[TD]10001001[/TD]

[/TR]

[TR]

[TD]10001002[/TD]

[/TR]

[TR]

[TD]10001008[/TD]

[/TR]

[TR]

[TD]10001051[/TD]

[/TR]

[TR]

[TD]10003[/TD]

[/TR]

[TR]

[TD]10003008[/TD]

[/TR]

[TR]

[TD]10003009[/TD]

[/TR]

[TR]

[TD]10003010[/TD]

[/TR]

[TR]

[TD]10003011[/TD]

[/TR]

[TR]

[TD]10003014[/TD]

[/TR]

[TR]

[TD]10003025[/TD]

[/TR]

[TR]

[TD]10003026[/TD]

[/TR]

[TR]

[TD]10003037[/TD]

[/TR]

[TR]

[TD]10003071[/TD]

[/TR]

[TR]

[TD]10003075[/TD]

[/TR]

[TR]

[TD]10003082[/TD]

[/TR]

[TR]

[TD]10003083[/TD]

[/TR]

[TR]

[TD]10003501[/TD]

[/TR]

[TR]

[TD]10003502[/TD]

[/TR]

[TR]

[TD]10003998[/TD]

[/TR]

[TR]

[TD]10003999[/TD]

[/TR]

[TR]

[TD]10004[/TD]

[/TR]

[TR]

[TD]10004001[/TD]

[/TR]

[TR]

[TD]10004010[/TD]

[/TR]

[TR]

[TD]10004018[/TD]

[/TR]

[TR]

[TD]10004021[/TD]

[/TR]

[TR]

[TD]10005[/TD]

[/TR]

[TR]

[TD]10005007[/TD]

[/TR]

[/TABLE]

[/TD]

[/TR]

[/TABLE]

Y lo que hace excel es ordenarme los datos de menor a mayor de manera que me pone la informacion asi

[TABLE=width: 80]

[TR]

[TD=class: xl65, width: 80]100[/TD]

[/TR]

[TR]

[TD=class: xl65]10001[/TD]

[/TR]

[TR]

[TD=class: xl65]10003[/TD]

[/TR]

[TR]

[TD=class: xl65]10004[/TD]

[/TR]

[TR]

[TD=class: xl65]10005[/TD]

[/TR]

[TR]

[TD=class: xl65]10001001[/TD]

[/TR]

[TR]

[TD=class: xl65]10001002[/TD]

[/TR]

[TR]

[TD=class: xl65]10001008[/TD]

[/TR]

[TR]

[TD=class: xl65]10001051[/TD]

[/TR]

[TR]

[TD=class: xl65]10003008[/TD]

[/TR]

[TR]

[TD=class: xl65]10003009[/TD]

[/TR]

[TR]

[TD=class: xl65]10003010[/TD]

[/TR]

[TR]

[TD=class: xl65]10003011[/TD]

[/TR]

[TR]

[TD=class: xl65]10003014[/TD]

[/TR]

[TR]

[TD=class: xl65]10003025[/TD]

[/TR]

[TR]

[TD=class: xl65]10003026[/TD]

[/TR]

[TR]

[TD=class: xl65]10003037[/TD]

[/TR]

[TR]

[TD=class: xl65]10003071[/TD]

[/TR]

[TR]

[TD=class: xl65]10003075[/TD]

[/TR]

[TR]

[TD=class: xl65]10003082[/TD]

[/TR]

[TR]

[TD=class: xl65]10003083[/TD]

[/TR]

[TR]

[TD=class: xl65]10003501[/TD]

[/TR]

[TR]

[TD=class: xl65]10003502[/TD]

[/TR]

[TR]

[TD=class: xl65]10003998[/TD]

[/TR]

[TR]

[TD=class: xl65]10003999[/TD]

[/TR]

[TR]

[TD=class: xl65]10004001[/TD]

[/TR]

[TR]

[TD=class: xl65]10004010[/TD]

[/TR]

[TR]

[TD=class: xl65]10004018[/TD]

[/TR]

[TR]

[TD=class: xl65]10004021[/TD]

[/TR]

[TR]

[TD=class: xl65]10005007

[/TD]

[/TR]

[/TABLE]

y esto no me sirve, cual es el procedimiento para ordenar estos datos de la primera forma que arriba mencionada

Saludos desde Mexico D.F.

Featured Replies

publicado

Hola Victor, asumiendo valores originales en columna A, inserta esta formula en la columna B:

=SI(LARGO(A2)=3,A2*100000,SI(LARGO(D2)=5,A2*1000,A2))[/CODE]

Copia los resultados de la columna B y con pegado especial -enla misma columna- conviertelos a valores

Ordena de menor a mayor segun columna B

Elimina la columnas B

Haciendolo con la grabadora de macros encendida conviertes el proceso a macro.

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.