Asignar Id de una lista a otra lista xls

dagoth2001

New Member
Joined
Jan 20, 2010
Messages
5
Ok aqui esta mi problema.. Tengo una lista con nombres de personas.. Y sus correspondientes datos ( direccion, tel,etc..) toda estan en diferentes columnas.. A cada cliente se le ha asignado un Id en la primera columna.. Este archivo no tiene ningun problema.. Pero tengo otro archivo en el cual estan reflejadas las aportaciones, esta paguina no tiene ID pero todos Los nombres estan ordenados en el mismo orden q el archivo de clientes, con el unico problema q se repiten dependiendo las aportaciones.. Ejemplo:

Nombre. Cantidad. Recibo. Aportacion
aguilar, Maria. 100.00 2388. Comida. 10/25/2009
munguia, David 20.00 765 Comida. 11/05/2008
munguia, David. 50.00 384. Comida. 09/21/2009
munguia, David. 10.00 982. Comida. 09/21/2007
zuniga, Mario. 30.00. 763. Comida. 01/09/2010

algunos de Los clientes tienen hasta diez aportaciones.. Como puedo agregarles el ID del primer archivo a este archivo..?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Ok aqui esta mi problema.. Tengo una lista con nombres de personas.. Y sus correspondientes datos ( direccion, tel,etc..) toda estan en diferentes columnas.. A cada cliente se le ha asignado un Id en la primera columna.. Este archivo no tiene ningun problema.. Pero tengo otro archivo en el cual estan reflejadas las aportaciones, esta paguina no tiene ID pero todos Los nombres estan ordenados en el mismo orden q el archivo de clientes, con el unico problema q se repiten dependiendo las aportaciones.. Ejemplo:

Nombre. Cantidad. Recibo. Aportacion
aguilar, Maria. 100.00 2388. Comida. 10/25/2009
munguia, David 20.00 765 Comida. 11/05/2008
munguia, David. 50.00 384. Comida. 09/21/2009
munguia, David. 10.00 982. Comida. 09/21/2007
zuniga, Mario. 30.00. 763. Comida. 01/09/2010

algunos de Los clientes tienen hasta diez aportaciones.. Como puedo agregarles el ID del primer archivo a este archivo..?
try adding a column in front of your second list (this will only work if the names match exactly)

=INDEX($A$2:$D$4,MATCH(X2,$B$2:$B$4,0),1)

$A$2:$D$4 - replace this with the range of the table with ID#
$B$2:$B$4 - this range of the name colum in the primary table with ID#
X2 - this references your name cell in the 2nd list
0 - this tells it that it must be an exact match
1 - this is the column of the ID# (i'm assuming it's the 1st colum)
 
Upvote 0
try adding a column in front of your second list (this will only work if the names match exactly)

=INDEX($A$2:$D$4,MATCH(X2,$B$2:$B$4,0),1)

$A$2:$D$4 - replace this with the range of the table with ID#
$B$2:$B$4 - this range of the name colum in the primary table with ID#
X2 - this references your name cell in the 2nd list
0 - this tells it that it must be an exact match
1 - this is the column of the ID# (i'm assuming it's the 1st colum)

I Tried it and Give as a Result a "0" value and a Blue Dot on the left of the Cell...
 
Upvote 0
I Found the problem.. i moved the first list with the ID to the same spreadsheet of the ones that needed the ID number..that fix the problem... Thank You kingerick!!!:biggrin:


La Formula de =INDEX y MATCH ( INDICE y LISTA en Excel En Español) que me dio kingerick funciono para solucionar mi problema con los ID's... solo para q funcione ambas listas tienen que estar en la misma hoja de calculo...
 
Upvote 0

Forum statistics

Threads
1,216,129
Messages
6,129,046
Members
449,482
Latest member
al mugheen

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