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.

Pasar fórmula a Valores

publicado

Estimados,

Esperando que se encuentren bien, recurro a ustedes para que me ayuden a dar solución a una duda que tengo.

He creado una VBA para generar una fórmula en Excel tomando como criterio el contenido de otra. Si tiene "X" cantidad de filas esta se rellene en otra celda con la fórmula propuesta. Ahora, ¿Cómo puedo hacer para que después de aplicada la formula esta pase a valores?

Adjunto el VBA que use:

    Range("Z2").Formula = "=VLOOKUP(Y2,AO:AP,2,0)"
    Range("Z2", "Z" & Range("AC2").End(xlDown).Row) = Range("Z2").Formula

Quedo atento a sus comentarios.

Ss.

Featured Replies

publicado
    With Range("Z2", "Z" & Range("AC2").End(xlDown).Row)
      .Formula = "=VLOOKUP(Y2,AO:AP,2,0)"
      .Value = .Value
    End With

 

publicado
  • Autor
Hace 9 horas, Antoni dijo:

    With Range("Z2", "Z" & Range("AC2").End(xlDown).Row)
      .Formula = "=VLOOKUP(Y2,AO:AP,2,0)"
      .Value = .Value
    End With

 

Muchas gracias, me funciono muy bien!!!

Ss.

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.