Last Items in a Growing List

deepheat101

Board Regular
Joined
Jul 26, 2006
Messages
138
Greetings...

I have an unsorted column called "Animals" that (surprisingly) contains a list of animals in varying quantities (anything from 4 to 30 occurances in no specfic order, other than the order in which they were entered)

In the next column along I would like an "X" to appear in the same row if that animal is the last occurance of that animal in the unsorted list...

For example,
Code:
Brown Bear    X
Elephant
Aardvark
Lion          X
Tiger
Tiger
Tiger
Aardvark      X
Elephant      X
Tiger         X
Guinea Pig    X

As the animal list is updated via a UserForm, the "X" will need to be updated at the same time.

Code:
Brown Bear    X
Elephant
Aardvark
Lion          X
Tiger
Tiger
Tiger
Aardvark      X
Elephant      
Tiger         X
Guinea Pig    X
Elephant      X

(notice the new entry "Elephant" now has an "X" next to it, while the previous Elephant entry has had its "X" removed.

Where do I start?? (I need to keep the list in the original order)

Many Thanks in advance
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Watch MrExcel Video

Forum statistics

Threads
1,109,493
Messages
5,529,187
Members
409,856
Latest member
MAO
Top