检查单元格中是否有多个数据之一
我想制作一个检查行的脚本,第二个第一列上的所有行都完成后,检查下一行,依此类推。
我想从Excel表格中删除一些单词,问题是单词太多。
我想做这样的事情: 对于每个包含文本的单元格,IF A1 = 汽车或船或火车...
。 如果单元格包含指定的文本,则将其删除。
谁能举一些例子吗?
谢谢, 塞巴斯蒂安
I want to make a Script that checks the rows, wen the second all the rows on the first column are done, check the next one, and so on.
I want to remove some words from an excel table, the problem is that there are a lot of words.
I'd like to do something like this:IF A1 = car OR boat OR train ...
for each cell that has text in it.
if the cell contains the specified text, to remove it.
Can anyone give some examples?
thanks,
Sebastian
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试通过 VBA 使用查找/替换。它非常快。
只需根据需要修改即可。
Try using Find/Replace through VBA. It is very fast.
Just modify as needed.
将要删除的单词列表存储在某个范围内,并循环浏览该范围。
示例:
希望有帮助......祝你好运 MikeD
Store the list of words that you want to delete in a range and cycle through this range.
Example:
Hope that helps .... good luck MikeD