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.

Modificar formula que concatena de forma multiple para que me copie en celdas diferentes

publicado

Hola,

Me gustaría saber si es posible que con una formula escriba en diferentes celdas, es decir, en mi caso encontré una fórmula que me concatenaba resultados respecto a un rango (que también me valía), pero ahora querría modificarla para que me "extrajera" los resultados a partir de la celda donde pongo la formula.

Pego aquí el código.


Function MULTCONCAT(lista As Range)
Dim ncell As Range
Dim m_concat As String
m_concat = ""
i = 1
For Each ncell In lista
If ncell <> "" Then
If i = 1 Then
m_concat = m_concat & ncell.Value
i = i + 1
Else
m_concat = m_concat & " or " & ncell.Value
End If
End If
Next ncell
m_concat = m_concat & " "
MULTCONCAT = m_concat
End Function
[/code]

Gracias de antemano!

Featured Replies

publicado
  • Autor

querría, en vez de concatenar los resultados, separar los en diferentes celdas de una misma columna, no obstante, me he creado finalmente otra función desde 0 consiguiendo idénticos resultados..

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.