简体   繁体   English

将excel中的名称从(最后一个)转换为(最后一个)

[英]Restructure name in excel from (Last, First) to (First Last)

Goal 目标

Create a helper column that converts the value of a cell from Last, First to First Last 创建一个帮助程序列,该列将单元格的值从“ Last, First为“ First Last


The below formula works fine. 下面的公式工作正常。 A1 contains Last, First and the below formula converts to desired output. A1包含Last, First ,以下公式将转换为所需的输出。

 A2 = MID(A1,SEARCH(", ",A1)+2,LEN(A1))&CHAR(32)&LEFT(A1,SEARCH(",",A1)-1)  

The question is, can anyone provide a more concise formula to achieve same result ? 问题是, 谁能提供更简洁的公式来达到相同的结果

Don't bother with a formula, use Flash Fill . 不用担心公式,请使用Flash Fill If you really need a formula = =MID(A1&" "&A1,FIND(", ",A1)+2,LEN(A1)-1) . 如果您确实需要公式= =MID(A1&" "&A1,FIND(", ",A1)+2,LEN(A1)-1)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM