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 para hacer que unos números se repitan

publicado

Hola, resulta que tengo una columna con unos ids que son números y necesito que en esa fila se repita 4 veces el mismo número hacia abajo, para que luego en cada fila de cada número aparezca los números 1,2,19,61 en la columna B de cada número, existe alguna fórmula que lo pueda hacer auto?

Saludos y Gracias!

product_2023-02-19_192903.csv

Featured Replies

publicado
  • Autor

De locos! Como se hace eso me enseñarias a como puedo hacerlo, es una macro?

publicado

Otra opción

Sub Autocompleta()
    linea = 2
    With Hoja1
        For Cont = 2 To .Range("A" & Rows.Count).End(xlUp).Row
            For cont1 = 1 To 4
                .Cells(linea, 4) = .Cells(Cont, 1)
                    Select Case cont1
                Case 1
                    .Cells(linea, 5) = 1
                Case 2
                    .Cells(linea, 5) = 2
                Case 3
                    .Cells(linea, 5) = 19
                Case 4
                    .Cells(linea, 5) = 61
                End Select
                linea = linea + 1
            Next cont1
        Next Cont
    End With
End Sub

 

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.