复制当前文本并更改它
电子表格中有很多url,我需要按以下格式上传:
目前是这样的:
http://url.com/this_is_an_example http://url.com/another_example
我需要这样的:
http://url.com/this_is_an_example, http://url.com/this-is-an-example http://url.com/another_example, , http://url.com/another-example
我知道我可以使用查找和replacereplace_与 – 但我怎么能复制相同的url旁边的现有的?
我正在使用Openoffice Calc
谢谢
两种解决scheme之间的唯一区别是用于拼接和replace语句的分隔符,即“;” vs“,”。
Openoffice解决scheme:
=CONCATENATE(A1;", ";SUBSTITUTE(A1;"_";"-"))
结果
Excel解决scheme:
=CONCATENATE(A1,", ",SUBSTITUTE(A1,"_","-"))
结果
我知道我可以使用查找和replacereplace_与 – 但我怎么能复制相同的url旁边的现有的?
最后,您可以隐藏原始列并离开自定义列。