+ Reply to Thread
Results 1 to 5 of 5

Text Formating

  1. #1
    Ben
    Guest

    Text Formating

    I have a spreadsheet where 1 column = firstname and initial. For
    example Dave C.

    How can I mask the cell to be just the first name?

    Thanks

    Ben


  2. #2
    Dave O
    Guest

    Re: Text Formating

    Yes, using a formula like this
    =MID(D7,1,FIND(" ",D7,1)-1)
    where D7 contains the name in question. This formula returns
    everything before the first blank space in the entry- which is great
    until you run into Mary Ann X, who gets converted to Mary.


  3. #3
    Ben
    Guest

    Re: Text Formating

    You da man, thank you


  4. #4
    Ben
    Guest

    Re: Text Formating

    It works! But.....I get a #VALUE! if the name does not have a
    firstname and initial, can you help?


  5. #5
    Dave O
    Guest

    Re: Text Formating

    Sorry for the delayed response- try this:
    =IF(ISNUMBER(FIND(" ",D7,1)),MID(D7,1,FIND(" ",D7,1)-1),D7)


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1