View Single Post
  #2   Report Post  
Vacation's Over
 
Posts: n/a
Default Values in a Table

for just alph use DATASort

but you will find that sort puts "-' ahead of the alphs

"bob" wrote:

I have 5 text strings in 5 cells, A2 through A6, in Sheet1. I want to select
one of them and place it in A7 based on values I have assigned in Sheet2.

Sheet 1:
A2 = Arenas
A3 = Haywood
A4 = Hughes
A5 = Jamison
A6 = Jeffries

Sheet 2:
Arenas = A
Haywood = "-"
Hughes = B
Jamison = H
Jeffries = I

In Sheet2, the name that corresponds to the lowest letter (Arenas, A) is to
be placed in A7 in Sheet1. The "-" value is considered to be higher than H.
in other words it follows Z in the alphabet.

Thanks in advance,
Bob