Excel function to get first word from sentence in other cell

后端 未结 5 1107
孤城傲影
孤城傲影 2020-12-31 07:39

Excel: What function can I use to take the all the characters from the beginning to the first \'<\". I am trying to strip out the first word from A1 and put it into B1

5条回答
  •  情深已故
    2020-12-31 08:10

    How about something like

    =LEFT(A1,SEARCH(" ",A1)-1)
    

    or

    =LEFT(A1,SEARCH("",A1)-1)
    

    Have a look at MS Excel: Search Function and Excel 2007 LEFT Function

提交回复
热议问题