[英]Excel formula to remove intermediate rows
I've an excel sheet that looks like this: 我有一个看起来像这样的Excel工作表:
I want to remove all the values that isn't a multiple of 0.1., ie, in the above example, I want to keep only the rows 1.2, 1.3, 1.4 and delete all the intermediate rows. 我想删除所有不是0.1的倍数的值,即,在上面的示例中,我只想保留行1.2、1.3、1.4,并删除所有中间行。 How can I write formula for this? 我该如何写公式?
Thanks. 谢谢。
The MOD
function returns the remainder of a division. MOD
函数返回除法的余数 。 If that's zero, your value is divisible by the parameter value you gave it: 如果该值为零,那么您的值可以被您赋予它的参数值整除:
=MOD(A1,0.1)=0
Put that in a 3rd column, fill the formula down, and filter out or delete the FALSE
rows. 将其放在第3列中,向下填写公式,然后过滤或删除FALSE
行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.