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.

Multiplicar y Dividir celdas e Imprir solo algunas columnas

publicado

Multiplicar y Dividir celdas e Imprimir solo algunas columnas

Estimados, quiero pedirles la siguiente ayuda.

tengo un Formulario de consulta en el cual necesito modificar la Formula destacada con amarillo, para que multiplique la Columna “Cantidad” * ” Columna Valor” y luego dividir por la Columna “Gasto Promedio”

With Sheets("hoja3")

' Tomamos última fila usada en hoja 2 para crear el rango a cargar

i = .Range("A" & Rows.Count).End(xlUp).Row

If i < 2 Then i = 2

'colocamos subtotal por linea

.Range("H1") = "Km/Litro"

For x = 2 To i

.Range("H" & x) = WorksheetFunction.Sum(.Range("F" & x & ":G" & x))

y = .Range("H" & x) + y

Next x

End With

Además si me pudieran ayudar con la Macro de Impresión, para que solo me imprima las columnas A; C; E; H que sería la columna que se agrega mediante la fórmula anterior, Tal como lo muestra el ListBox

Saludos.

Libro.rar

Libro.rar

Featured Replies

publicado
  • Autor

Re: Multiplicar y Dividir celdas e Imprimir solo algunas columnas

Cerrar Tema

gracias.

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.