Formula to for extracting update list with criteria

GerryZ

Well-known Member
Joined
Jul 4, 2014
Messages
1,224
Office Version
  1. 365
Platform
  1. Windows
hello Excel guru
I will never make this without your help
I've two tables the Above table is the wrong result and in the table belowe is the expected outcome

As you can see in colum A of both tables I've all the code of all Employes but code 35,66,92 for some reason they don't work any more

in column B of both tables I' ve the UPDATED list of the Employd but i need to list them like in the table belowe so I can keep track of old code that I can use for new Emploies
Ihope is clear
Thank you!

Book1
ABCDE
1WRONGTABLE
2OLD LISTUPDATEDLAST NAMEFIRST NAMEBORN
31111ROSSIALDO1/1/1965
42323VERDIMARIO1/1/1966
53544BIANCHILUIGI3/2/1970
64456ROSSIMARIO3/3/1969
75678VERDIGIANNI5/4/1956
86689BIANCHILUCA13/5/1978
978101BLUALDA15/4/1988
1089
1192
12101
13
14CORRECTTABLE
15OLD LISTUPDATELAST NAMEFIRST NAMEBORN
161111ROSSIALDO1/1/1965
172323VERDIMARIO1/1/1966
1835
194444BIANCHILUIGI3/2/1970
205656ROSSIMARIO3/3/1969
2166
227878VERDIGIANNI5/4/1956
238989BIANCHILUCA13/5/1978
2492
25101101BLUALDA15/4/1988
Foglio1 (2)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi Gaz nice to see you
I'm not using any formula, this is vergin spreedsheet
anyway I forgot to mantion that this list as 3000 rows thats why i need one formula.
I was thinking to make a criteria list 35, 66, 92
Thank you Gaz
 
Last edited:
Upvote 0
if i am understanding requirement

working on creating new table

in row A copied down using CSE (control shift enter_

Code:
=INDEX(A1:E10,1,1)

in column B dragged down and across to column E no need for CSE

Code:
=IFERROR(VLOOKUP($A13,$B$1:$E$10,COLUMN()-1,FALSE),"")
 
Upvote 0
Hi Gerry,


Is this what you need?

J.Ty.


Excel 2010
ABCDE
1WRONGTABLE
2OLD LISTUPDATEDLAST NAMEFIRST NAMEBORN
31111ROSSIALDO1/1/1965
42323VERDIMARIO1/1/1966
53544BIANCHILUIGI3/2/1970
64456ROSSIMARIO3/3/1969
75678VERDIGIANNI5/4/1956
86689BIANCHILUCA13/5/1978
978101BLUALDA15/4/1988
1089
1192
12101
13
14CORRECTTABLE
15OLD LISTUPDATELAST NAMEFIRST NAMEBORN
161111ROSSIALDO1/1/1965
172323VERDIMARIO1/1/1966
1835
194444BIANCHILUIGI3/2/1970
205656ROSSIMARIO3/3/1969
2166
227878VERDIGIANNI5/4/1956
238989BIANCHILUCA13/5/1978
2492
25101101BLUALDA15/4/1988
Sheet1
Cell Formulas
RangeFormula
B16=IFERROR(INDEX(B$3:B$9,MATCH($A16,$B$3:$B$9,0)),"")
C16=IFERROR(INDEX(C$3:C$9,MATCH($A16,$B$3:$B$9,0)),"")
D16=IFERROR(INDEX(D$3:D$9,MATCH($A16,$B$3:$B$9,0)),"")
E16=IFERROR(INDEX(E$3:E$9,MATCH($A16,$B$3:$B$9,0)),"")
 
Upvote 0
Hi Gerry,


Is this what you need?

J.Ty.


Excel 2010
ABCDE
1WRONGTABLE
2OLD LISTUPDATEDLAST NAMEFIRST NAMEBORN
31111ROSSIALDO1/1/1965
42323VERDIMARIO1/1/1966
53544BIANCHILUIGI3/2/1970
64456ROSSIMARIO3/3/1969
75678VERDIGIANNI5/4/1956
86689BIANCHILUCA13/5/1978
978101BLUALDA15/4/1988
1089
1192
12101
13
14CORRECTTABLE
15OLD LISTUPDATELAST NAMEFIRST NAMEBORN
161111ROSSIALDO1/1/1965
172323VERDIMARIO1/1/1966
1835
194444BIANCHILUIGI3/2/1970
205656ROSSIMARIO3/3/1969
2166
227878VERDIGIANNI5/4/1956
238989BIANCHILUCA13/5/1978
2492
25101101BLUALDA15/4/1988
Sheet1
Cell Formulas
RangeFormula
B16=IFERROR(INDEX(B$3:B$9,MATCH($A16,$B$3:$B$9,0)),"")
C16=IFERROR(INDEX(C$3:C$9,MATCH($A16,$B$3:$B$9,0)),"")
D16=IFERROR(INDEX(D$3:D$9,MATCH($A16,$B$3:$B$9,0)),"")
E16=IFERROR(INDEX(E$3:E$9,MATCH($A16,$B$3:$B$9,0)),"")
hello EveryBoby!!
I will use J.Ty.'s formula that works perfectly
Woooooww! Is so simple
I should know the answer, I had the head locked
Thanks everybody for the answers
 
Upvote 0

Forum statistics

Threads
1,216,082
Messages
6,128,713
Members
449,464
Latest member
againofsoul

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