Excel - 查找并替换那些不在括号内的逗号
Excel - Find and replace those comma not within parenthesis
我的 excel 上有以下值的行。
Brandon (39042, 39047),Pearl (39208),Fondren and Belhaven,North Jackson (39206,39211),Byram (39272),South Jackson (39212, (39204),Clinton (39056),Madison (39110),Ridgeland (39157),West Jackson (39209)
我想要完成的是将分隔每个值的逗号更改为分号,其中括号内的逗号即。 (39042, 39047) 应该不会受到影响。
已经尝试谷歌搜索但找不到任何东西。
假设您的数据在 A1 中
=SUBSTITUTE(A1, ")," , ");" )
为了方便阅读,我加了空格。将公式尽可能地复制下来。
或者使用 excel 的内置搜索和替换功能。 CNTRL + H.
我的 excel 上有以下值的行。
Brandon (39042, 39047),Pearl (39208),Fondren and Belhaven,North Jackson (39206,39211),Byram (39272),South Jackson (39212, (39204),Clinton (39056),Madison (39110),Ridgeland (39157),West Jackson (39209)
我想要完成的是将分隔每个值的逗号更改为分号,其中括号内的逗号即。 (39042, 39047) 应该不会受到影响。
已经尝试谷歌搜索但找不到任何东西。
假设您的数据在 A1 中
=SUBSTITUTE(A1, ")," , ");" )
为了方便阅读,我加了空格。将公式尽可能地复制下来。
或者使用 excel 的内置搜索和替换功能。 CNTRL + H.