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.

Jalar dato en columna según el dia y tienda

publicado

Amigos, estoy tratando de realizar en la hoja reporte que me aparezca en el día Lunes por

ejemplo, las cantidades según la tienda.

la macro que hice solo me trae un valor en la primera columna y lo que busco es que si hay

otro lunes debe aparecer esa cantidad en la siguiente columna.

por ejemplo la Tienda1 tiene el día lunes 2 ventas.

estoy utilizando este codigo:

Sub Reporte()
ufd = Data.Range("A1").End(xlDown).Row 'filas de hoha data
UfR = Reportes.Range("A8").End(xlDown).Row 'filas de la hoja reporte
ucr = Reportes.Range("A8").End(xlToRight).Column 'columnas d ela hoja reporte

'Reportes.Range("B9:V" & UfR).ClearComments
Fil = 9
Do While Fil <= UfR
For I = 2 To ufd

If Reportes.Cells(Fil, 1) = Data.Cells(I, 3) Then
For P = 2 To ucr Step 3
If Reportes.Cells(8, P) = Data.Cells(I, 4) Then

Reportes.Cells(Fil, P) = Data.Cells(I, 2)
'Comentario = Data.Cells(i, 1)
'Reportes.Cells(Fil, P).AddComment Comentario

End If

Next
End If

Next
Fil = Fil + 1
Loop
End Sub
[/CODE]

espero que me puedan ayudar.

Saludos,

Celest3

Archivo2.xls

Featured Replies

publicado
  • Autor

Amigos, no tendrán alguna recomendación para realizar este proceso.

espero sus recomendaciones

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.