Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
sm  200
abm 300
bm  400
sm  500
abm 600
bm  700
um  50
Posted
Comments
[no name] 21-Jun-11 3:46am    
ABM? Anti ballistic missiles?

You could just order 'ascending by name, descending by number' et voilà the result would be in the first row.
 
Share this answer
 
v2
There isn't a simple single cell formula to use here. Rather it will take a few nested formulas.

Here is a site with a spreadsheet you can download that describes a number of formulas to return data from tables and formulas to look up data in tables

http://www.cpearson.com/excel/TablesAndLookups.aspx[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 21-Jun-11 16:43pm    
Could you shed a light on all those abms and bms? What the hell is that, it two words? :-)
--SA
S Houghtelin 21-Jun-11 17:29pm    
Two words? BM... that's what you wish would happen when you are constipated, ABM is what happens after the first BM. Nope, can't do it in two words. Sorry :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900