View Single Post
  #2 (permalink)  
Old 08-25-2004, 06:19 PM
steve0 steve0 is offline
WebProWorld Pro
 

Join Date: May 2004
Location: Austin, TX
Posts: 200
steve0 RepRank 0
Default

I understand the first example.. bit a little confused on the second.. where is the 'OH' coming from..?

Try this quickie hack.. assuming your data starts in the first column, first cell A1, and goes down..

=UPPER(LEFT(A1,2)&MID(A1,SEARCH(" ",A1,3)+1,2)&MID(A1,SEARCH(", ",A1,3)+2,2))

explained:
Get the first 2 characters from the left..
Find the position of the first space, and grab the next two characters.. and append..
Find the comma followed by a space, and grab the next two characters.. and append...

Lather, rinse, repeat..
__________________
Hardcore Programming Solutions and Coffee Drinker
Reply With Quote