Sort out lists with VLOOKUP

gussen

New Member
Joined
Oct 16, 2012
Messages
1
Hello everybody,

I would like to let excel sort out two lists for me with item ID's, revisions and last saved date. i think it's possible with the VLOOKUP function but i don't know for sure. Please look at the example below and let me know if it's possible to do this by excel formula's.

Startlist:[TABLE="width: 800"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[/TR]
[TR]
[TD]Filters[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1012[/TD]
[TD]AA[/TD]
[TD]2012-10-09[/TD]
[TD][/TD]
[TD]1011[/TD]
[TD]AA[/TD]
[TD]2012-10-09[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1013[/TD]
[TD]AA[/TD]
[TD]2012-10-10[/TD]
[TD][/TD]
[TD]1012[/TD]
[TD]AA[/TD]
[TD]2012-10-09[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1014[/TD]
[TD]AA[/TD]
[TD]2012-10-10[/TD]
[TD][/TD]
[TD]1013[/TD]
[TD]AA[/TD]
[TD]2012-10-10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1015[/TD]
[TD]AB[/TD]
[TD]2012-10-15[/TD]
[TD][/TD]
[TD]1015[/TD]
[TD]AA[/TD]
[TD]2012-10-10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1016[/TD]
[TD]AA[/TD]
[TD]2012-10-12[/TD]
[TD][/TD]
[TD]1016[/TD]
[TD]AB[/TD]
[TD]2012-10-15[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1017[/TD]
[TD]AA[/TD]
[TD]2012-10-10[/TD]
[TD][/TD]
[TD]1017[/TD]
[TD]AA[/TD]
[TD]2012-10-12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1018[/TD]
[TD]AA[/TD]
[TD]2012-10-11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Needed result:[TABLE="width: 800"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[/TR]
[TR]
[TD]Filters[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1011[/TD]
[TD]AA[/TD]
[TD]2012-10-09[/TD]
[TD][/TD]
[TD]1b[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1012[/TD]
[TD]AA[/TD]
[TD]2012-10-09[/TD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ABLE]


Meaning is to sort the list by item nr. but keeping cels Ax-Cx and Ex-Gx together.
Column I: i want to use to see if the item is in list 1a/1b or both(2)
Column J: If listed on both compare Bx to Fx, same true, different false
Column K: If listed on both compare Cx to Gx, same true, different false

Above the lists should be filters to search.

my main concern is to get the list sorted like in cells A1-G8, rest i already know how to solve!

Anyone an idea to solve this?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
originals in columns A:G, new lists in I:N
Note that he formula in I2 is ARRAY-ENTERED (Ctrl+Shift+Enter, not just Enter)
Copy the formulae down.
Excel Workbook
ABCDEFGHIJKLMN
1FiltersList 1List 2
21012AA09/10/20121011AA09/10/20121011  AA09/10/2012
31013AA10/10/20121012AA09/10/20121012AA09/10/2012AA09/10/2012
41014AA10/10/20121013AA10/10/20121013AA10/10/2012AA10/10/2012
51015AB15/10/20121015AA10/10/20121014AA10/10/2012
61016AA12/10/20121016AB15/10/20121015AB15/10/2012AA10/10/2012
71017AA10/10/20121017AA12/10/20121016AA12/10/2012AB15/10/2012
81018AA11/10/20121017AA10/10/2012AA12/10/2012
91018AA11/10/2012
Sheet


If you see 1E+100 in column I you've copied down too far.
It assumes there are no repeats within column A (same goes for column E).
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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