excel - Replace all numbers in a column with blank Except Particular Word -
i need code if there number in column need replace space or blank if there word contains in column should not replace example:
a 1411000509 1411000990 1511000242 1606000059 1763104606 1711001701 1711001703 1763103223 1711001722 1763100137 addition addition deletion deletion
in b1 cell
=if(isnumber(a1),"",a1) drag formula down.
using coding
sub clearnumericdata() dim r range application.screenupdating = false each r in range("a1:a" & range("a" & rows.count).end(xlup).row) if isnumeric(r.value) r.clearcontents next r application.screenupdating = true end sub
Comments
Post a Comment