MID function

B

BSAT Student

I need some help with this homework problem. In Column A is Last Name, Col B
is First Name. I concantenated to Col D Last Name, First Name. In Col E I
need to convert the names to First Inital. Last Name. So, for Doe, John I
need J. Doe. How can I get this done using the MID function?
 
B

Biff

Tell the instructor you don't need to use MID:

=LEFT(B2)&". "&A2

But, if you insist: (I assume you want to extract the name from column D):

=MID(D2,FIND(",",D2)+2,1)&". "&LEFT(D2,FIND(",",D2)-1)

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top