Cross indexing 2 lists that have identical content but in different order (Trying to get numbers to then match with the lists)

McCW

New Member
Joined
Apr 8, 2023
Messages
5
Office Version
  1. 2010
Platform
  1. Windows
I am trying to have two lists in real life that are able to be printed out and used to cross-index. What I mean by that is I am trying to have two lists:

A) One that is ALPHABETICAL and
B) One that is CATEGORIZED

but both have the same content, just arranged differently.

What I want to be able to do is to get numbers that correspond with each respective cell for the CATEGORIZED list to then match up with the ALPHABETICAL list.

For example:

CATEGORIZED: ALPHABETICAL:

1. THIS IS AN EXAMPLE 2. APPLE
2. APPLE 5. GRAPE
3. ORANGE 6. LEMON
4. PEAR 3. ORANGE
5. GRAPE 4. PEAR
6. LEMON 1. THIS IS AN EXAMPLE



Basically I want the cells in the Alphabetical to read the list in Categorized, find matching things (So like Apple = Apple) then take the NUMBER in the cell next to it in the CATEGORIZED list and put that number next to the matching thing on the Alphabetical list.

Confusing, but I think pretty simple if you can track with me.

Again it's 550 entries, so it would take a long time to do this manually and they change sometimes as well, so this is something I want to be able to do over and over if possible.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
CATEGORIZED:

1. THIS IS AN EXAMPLE
2. APPLE 5. GRAPE
3. ORANGE 6. LEMON
4. PEAR 3. ORANGE
5. GRAPE 4. PEAR
6. LEMON 1. THIS IS AN EXAMPLE


ALPHABETICAL:
 
Upvote 0
Sorry. Formatting issues.

CATEGORIZED:

1. THIS IS AN EXAMPLE
2. APPLE 5. GRAPE
3. ORANGE 6. LEMON
4. PEAR 3. ORANGE
5. GRAPE 4. PEAR
6. LEMON 1. THIS IS AN EXAMPLE


ALPHABETICAL:
2. APPLE
5. GRAPE
6. LEMON
3. ORANGE
4. PEAR
1. THIS IS AN EXAMPLE
 
Upvote 0
Wow, I really wish there was an "edit" function I could find. Please just consider that the "categorized" list example above only had the first set of numbers, IE 1-6 and the 5,6,3,4,1 next to them were removed.
 
Upvote 0
Like this?
Book2
ABCDE
1CATEGORIZEDALPHABETICAL
21.THIS IS AN EXAMPLE2. APPLE
32. APPLE5.GRAPE
43.ORANGE6.LEMON
54.PEAR3.ORANGE
65.GRAPE4.PEAR
76.LEMON1.THIS IS AN EXAMPLE
Sheet1
Cell Formulas
RangeFormula
D2:D7D2=INDEX($A$2:$A$7,MATCH(E2,$B$2:$B$7,0))
 
Upvote 0
Solution
You're welcome. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,559
Members
448,970
Latest member
kennimack

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