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.

Comparar variable en FormulaR1C1

publicado

Buenas tardes a todos.

Tengo una pequeña inquietud que le he dado infinidad de vueltas y no doy. Es algo como esto:

 With r(1, 7).Resize(r.Rows.Count, 1)
                .FormulaR1C1 = "=IF(RC[-2]> sm * 4, RC[-2] * 0.01,0)"
                .Value = .Value
  End With

Trato de comparar la celda escogida con la variable sm, pero no sé cómo llevar esta variable a la fórmula. He intentado con comillas, dobles comillas pero no doy. 

Alguna idea??

 

Muchas gracias por su tiempo

Boris

Featured Replies

publicado
  • Autor
Hace 6 minutos , johnmpl dijo:

¡Hola, @bdurango!

Puedes probar con:


 .FormulaR1C1 = "=IF(RC[-2]>" & sm & "* 4, RC[-2] * 0.01,0)"

¡Bendiciones!

Súper John, muchas 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.