Buscarv o que?
Hola tengo un problemita que no puedo dar con el clavo. Nesecito buscar en un excel un nombre y que me devuelva en una celda los valores de las celdas siguientes a ese nombre. Me explico, ej: el excel esta compustos por nombre, edad, lugar de nacimiento, padre, madre. Quiero buscar por nombre y que me devuelva en UNA celda, edad lugar de nacimiento padre madre todo junto. A eso sumarle que cada vez que se repita el nombre se sume a esa celda. Es todo un desafio, se manda una mano lo agradeceria. Ya estoy medio quemado buscando una solucion. Gracias y saludos
1 respuesta
Respuesta de Elsa Matilde
1
1
Elsa Matilde, https://www.youtube.com/c/ElsaMatilde
Para la búsqueda necesitarás: = BuscarV & BuscarV & BuscarV....
Es decir, concatenar todos los resultados devueltos por la función BuscarV (quizás debieras además concatenar algún espacio entre ellas), donde en cada una cambiarás el nro de col a devolver.
Lo que no comprendí es lo de sumar... si me explicás con un ejemplo concreto quizás lo pueda resolver.
Es decir, concatenar todos los resultados devueltos por la función BuscarV (quizás debieras además concatenar algún espacio entre ellas), donde en cada una cambiarás el nro de col a devolver.
Lo que no comprendí es lo de sumar... si me explicás con un ejemplo concreto quizás lo pueda resolver.
Hola, primero gracias por la respuesta. a lo que me referia es que busco una palabra y que me devuelva de esa palabra las celdas continuas y concatenada en una sola celda. ejemplo
busco la palabra Martin en excel
<table style="width: 300pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="400">
<colgroup span="1"><col style="width: 60pt;" span="5" width="80"></col></colgroup>
<tbody>
<tr style="height: 12.75pt;" height="17">
<td class="xl23" style="width: 60pt; height: 12.75pt; background-color: silver; border: windowtext 0.5pt solid;" width="80" height="17">[size= x-small; font-family: Arial]nombre[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]fecha[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]edad[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]apellido[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]codigo[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]jose[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]02-Ago[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]12[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]larrea[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd123[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]03-Sep[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]25[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]paso[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd121[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]ariel[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]05-Abr[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]89[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]justo[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd129[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]15-Ene[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]7[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]alvarez[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd012[/size]</td>
</tr>
</tbody>
</table>
me devuelva
<table style="width: 248pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="330">
<colgroup span="1"><col style="width: 60pt;" span="1" width="80"></col><col style="width: 188pt; mso-width-source: userset; mso-width-alt: 9142;" span="1" width="250"></col></colgroup>
<tbody>
<tr style="height: 12.75pt;" height="17">
<td class="xl24" style="width: 60pt; height: 12.75pt; background-color: transparent; border: windowtext 0.5pt solid;" width="80" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl25" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 188pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="250">[size= x-small; font-family: Arial]03-Sep 25 paso cd121[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl25" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]15-Ene 7 alvarez cd012[/size]</td>
</tr>
</tbody>
</table>
Ese seria un primer paso, luego volcarlo a un listbox o un texbox
Espero que se entiende. Desde muchas gracias
busco la palabra Martin en excel
<table style="width: 300pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="400">
<colgroup span="1"><col style="width: 60pt;" span="5" width="80"></col></colgroup>
<tbody>
<tr style="height: 12.75pt;" height="17">
<td class="xl23" style="width: 60pt; height: 12.75pt; background-color: silver; border: windowtext 0.5pt solid;" width="80" height="17">[size= x-small; font-family: Arial]nombre[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]fecha[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]edad[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]apellido[/size]</td>
<td class="xl23" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 60pt; border-bottom: windowtext 0.5pt solid; background-color: silver;" width="80">[size= x-small; font-family: Arial]codigo[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]jose[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]02-Ago[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]12[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]larrea[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd123[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]03-Sep[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]25[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]paso[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd121[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]ariel[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]05-Abr[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]89[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]justo[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd129[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]15-Ene[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;" align="right">[size= x-small; font-family: Arial]7[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]alvarez[/size]</td>
<td class="xl22" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]cd012[/size]</td>
</tr>
</tbody>
</table>
me devuelva
<table style="width: 248pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0" width="330">
<colgroup span="1"><col style="width: 60pt;" span="1" width="80"></col><col style="width: 188pt; mso-width-source: userset; mso-width-alt: 9142;" span="1" width="250"></col></colgroup>
<tbody>
<tr style="height: 12.75pt;" height="17">
<td class="xl24" style="width: 60pt; height: 12.75pt; background-color: transparent; border: windowtext 0.5pt solid;" width="80" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl25" style="border-right: windowtext 0.5pt solid; border-top: windowtext 0.5pt solid; border-left: windowtext; width: 188pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="250">[size= x-small; font-family: Arial]03-Sep 25 paso cd121[/size]</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl24" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext 0.5pt solid; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" height="17">[size= x-small; font-family: Arial]martin[/size]</td>
<td class="xl25" style="border-right: windowtext 0.5pt solid; border-top: windowtext; border-left: windowtext; border-bottom: windowtext 0.5pt solid; background-color: transparent;">[size= x-small; font-family: Arial]15-Ene 7 alvarez cd012[/size]</td>
</tr>
</tbody>
</table>
Ese seria un primer paso, luego volcarlo a un listbox o un texbox
Espero que se entiende. Desde muchas gracias
- Compartir respuesta
- Anónimo
ahora mismo