如何在Excel中替换一列值 [英] How to replace a column of values in Excel

查看:886
本文介绍了如何在Excel中替换一列值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将一列值替换为另一列?
这是列:-

How to replace a column of values with another?
This is the column:-

N
N
N
N
N
N
N  

哪个是北方,但是在做一些测试时,我想将其改为南方:-

Which is North, But as I''m doing some tests, I want to change this to south : -

S
S
S
S
S
S
S
</pre>


REPLACE函数不适用于所有列...
(该列中有超过1000行)


The REPLACE function does not apply on all the column...
(There are over 1000 rows in that column)

推荐答案

第一答案
我确定会有一个公式,但是由于我不知道该公式或宏,您可以通过简单的方法来做到这一点:

将所有列复制到另一个excel.
只需将所有N替换为S.
将列复制回原始excel.

第二答案
如果它们是连续的,则始终可以:
FIRST ANSWER
I''m sure there will be a formula for that, but as I''m not aware of that formula or macro, you could do it in the easy way:

Copy all the column to another excel.
Simply replace all the N to S.
Copy the column back to the original excel.

SECOND ANSWER
If they are consecutive, you can always:
  1. 单击列的第一个单元格.
  2. 按住ctrl键并按住Shift键
  3. 按下键盘上的向下光标/箭头


这将立即选择所有列.

然后应用我的第一个答案...

工作完成了.

祝你好运!


This would select all the column at once.

Then apply my first answer...

Job done.

Good luck!


这篇关于如何在Excel中替换一列值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆