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.

Macro buscar y ordenar valores máximos de columnas

publicado

Buenos días

Mi nombre en Miguel Angel Canchala y les solicito amablemente colaboración con una macro para buscar y ordenar valores máximos de varias columnas. Adjunto envío archivo en excel con unos valores de ejemplo y los resultados que deseo obtener.

Muchas gracias por su ayuda.

Att. Miguel Angel C.

DATOS PARA MACRO.zip

Featured Replies

publicado

Parece que esto funciona:

Sub Máximos()

Dim Columna, Fila, x, y
Columna = 11
Fila = 2
For y = 1 To 7 Step 3
Columna = Columna + 1
Fila = 2
For x = 2 To 23 Step 7
Fila = Fila + 1
Select Case y
Case 1: Cells(Fila, Columna) = Evaluate("=MAX(A" & x & ":C" & x + 6 & ")")
Case 4: Cells(Fila, Columna) = Evaluate("=MAX(D" & x & ":F" & x + 6 & ")")
Case 7: Cells(Fila, Columna) = Evaluate("=MAX(G" & x & ":I" & x + 6 & ")")
End Select
Next
Next

End Sub


[/CODE]

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.