View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
meatshield meatshield is offline
external usenet poster
 
Posts: 39
Default Capitalizing text from the left limited by a comma

Assuming that "Rogers, Will" is in cell A1,
the formula =UPPER(LEFT(A1,FIND(",",A1)))& RIGHT(A1,LEN(A1)-
FIND(",",A1)) will return "ROGERS, Will"
I hope that helps (it's not a pretty function)

On Mar 9, 3:31 pm, Max Prophet
wrote:
How do I format a cell such that text left of a comma is capitalized?

example, the text in A1, "Rogers, Will", should be "ROGERS, Will"

thanks in advance