Return a Variable value length

  • Thread starter Thread starter Sean
  • Start date Start date
S

Sean

How would I return in say A2 the value that is in A1, but not all of
this value in A1, just the characters that are to the left of a decimal
point?

A1 = an email address and the value I want returned is the first name
on this address. The format of values in A1 is
(e-mail address removed)

Obviously the length of the firstname can vary.

To format it nicely I'd like to capitalise the first letter of the
value returned in A2

Thanks
 
Here's one possibility:

=UPPER(LEFT(A1,1))&MID(A1,2,FIND(".",A1)-2)

Scott
 

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

Back
Top