Excel with if语句

时间:2020-05-24 23:04:12

标签: excel vba

enter image description here大家好,

我有一个带有可变值的OC列,我想将它们克隆到同一行中可以在图像中看到的新单元格中,并且我只想获取所需的值,其余的单元格应保持为空< / p>

这个主意就是这样

单元格是J2 J3 j4 ..... jn

if ( cell_value > 2 and < 20 ) and ( next cell_value > 20 ) print

if ( cell_value > 50 ) and ( next cell_value > 20 ) print

if ( cell_value < 0 ) and ( next cell_value > 20 and < 40) and ( next cell_value > 20 and < 40 ) print

0 个答案:

没有答案