Jump to content

Recommended Posts

Posted

Hi, I'm using the following formula to generate user names in Excel:

 

=LEFT(A1,100) & B1

 

Forname in A1 and surname in B1

 

this is producing JoeBloggs: what I want is JoeB.

 

Any ideas how I can amend the formula so it extracts only the first letter of the surname?

Thanks

Posted

=A1&left(B1,1)

 

Currently your formula is producing the first 100 leftmost characters in A1 and all of B1. The formula above will give all of A1 and the leftmost character in B1

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...