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.

pegar serie_inicio y serie_final de códigos duplicados

publicado

hola estimados foreros, ojalá puedan ayudarme por favor, necesito una macro para obtener la serie_inicio y la serie_final de registros que están duplicados (Columna A), les adjunto archivo de ejemplo con los datos y que lleva en columna D, E el cómo debería quedar la solución final. Desde ya, les agradezco cualquier ayuda foreros.

ayudaexcel_series.xlsx

Featured Replies

publicado
Sub Seriar()
Application.ScreenUpdating = False
For x = 2 To Range("A" & Rows.Count).End(xlUp).Row
   If Not Range("A" & x) = Range("A" & x - 1) Then inicio = Range("C" & x)
   Range("D" & x) = inicio
Next
For x = Range("A" & Rows.Count).End(xlUp).Row To 2 Step -1
   If Not Range("A" & x) = Range("A" & x + 1) Then fin = Range("C" & x)
   Range("E" & x) = fin
Next
End Sub

 

publicado
  • Autor

Buen día estimado @Antoni, quiero agradecerte nuevamente tu gran aporte y apoyo que le das a la comunidad, sinceramente "NO TE MUERAS NUNCA ANTONI"!! 🙂 ese es un grito que tenemos (Chile) en son de agradecimiento eterno. Doy el tema por solucionado. Muchas gracias @Antoni

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.