Como contar elementos de un conjunto

JavierPeña

New Member
Joined
Apr 21, 2011
Messages
37
Buenas y gracias de antemano,

Me gustaría saber como puedo saber que número de elementos de un conjunto están en otro. Ah! uso Excel 2010.

Me explico:

Tengo un conjunto de cuatro celdas en A1:A4 llamado 'nombres'

Me gustaría saber de las siguientes columnas, cuantos pertenecen a 'nombres'.

En el caso de la columna B serían 3, pero no puedo poner estos en otro grupo de celdas, tengo que user úncamente el rango B1:B4.

Bien, he usado contar.Si.Conjunto pero no soy capaz:

<table border="0" cellpadding="0" cellspacing="0" width="264"><tbody><tr style="height:15.0pt" height="20"><td class="xl108" style="height:15.0pt;width:60pt" height="20" width="80">Laura</td> <td class="xl109" style="border-left:none;width:47pt" width="62">Javi</td> <td class="xl109" style="border-left:none;width:46pt" width="61">Maria</td> <td class="xl109" style="border-left:none;width:46pt" width="61">Luis</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl108" style="height:15.0pt;border-top:none" height="20">Luis</td> <td class="xl109" style="border-top:none;border-left:none">Luis</td> <td class="xl109" style="border-top:none;border-left:none">Sonia</td> <td class="xl109" style="border-top:none;border-left:none">Maria</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl108" style="height:15.0pt;border-top:none" height="20">Javi</td> <td class="xl109" style="border-top:none;border-left:none">Laura</td> <td class="xl109" style="border-top:none;border-left:none">Marta</td> <td class="xl109" style="border-top:none;border-left:none">Marta</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl108" style="height:15.0pt;border-top:none" height="20">Maria</td> <td class="xl109" style="border-top:none;border-left:none">Abel</td> <td class="xl109" style="border-top:none;border-left:none">David</td> <td class="xl109" style="border-top:none;border-left:none">Sonia</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl110" style="height:15.0pt;border-top:none" align="right" height="20">total</td> <td class="xl109" style="border-top:none;border-left:none" align="right">3</td> <td class="xl109" style="border-top:none;border-left:none" align="right">1</td> <td class="xl109" style="border-top:none;border-left:none" align="right">2</td> </tr> </tbody></table>
Los resultados de cada columna, por ejemplo, los de B, los necesito en B5
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,952
Messages
6,175,593
Members
452,654
Latest member
mememe101

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top