Está en la página 1de 1

Deportes socios

B C D E F G H I
4 Tabla socios
5 Nombre Nº socio Edad Antigüedad
6 Pedro Pou 1255 11 1
7 Luis Sanguineti 2148 18 5
8 Martín Gallo 2365 23 6
9 Jose Piperno 3255 43 3
10 Marcelo Tinelli 3654 22 1
11 Luisa Vehil 4578 56 20
12 Martín Redrado 5967 11 2
13 Rolando Rivas 6685 29 12
14
15 Tabla Actividades
16 Nº de Socio Fútbol Tenis Natación Volley Basquet
17 1255 x x x
18 2148 x x
19 2365 x x
20 3255 x x x
21 3654 x x
22 4578 x x x
23 5967 x x
24 6685 x x
25
26 Ejercicio
27 Escribiendo el nombre del socio, mostrar la lista de deportes que practica.
28
29 Solución 1
30 Nombre Nº socio Deportes que practica
31 Rolando Rivas 6685 Fútbol Natación
32 Luis Sanguineti 2148 Tenis Natación
33 Luisa Vehil 4578 Tenis Volley Basquet
34
35 Nº socio: =BUSCARV(C31;tabla_socios;2;0)
36 Deportes: {=SI(DESREF($C$16;COINCIDIR(D31;$C$17:$C$24;0);1;1;5)<>"";$D$16:$H$16;"")}
37
38 Solución 2
39 Nombre Nº socio Deportes que practica
40 Rolando Rivas 6685 Fútbol Natación
41 Luis Sanguineti 2148 Tenis Natación
42 Luisa Vehil 4578 Tenis Volley Basquet
43
44 Nº socio: =INDICE(numeros_socio;COINCIDIR(C40;nombres_socio;0);1)
45 Deportes: {=SI(SUMA(($C$17:$C$24=$D40)*(D$17:D$24<>""));D$16;"")}

ProInf.net

También podría gustarte