How to filter out/remove cells that contains empty

Hello everyone,

I was wondering how can I filter out and remove the cells that contains empty in an excel file?

From
image

To
image

I have tried to use the filter wizard, but it would not filter and remove the cells out
image

Contains(“”) makes no sense.

You want to use IsEmpty for the Operation

1 Like

check for the operation isEmpty and use an or instead of AND

2 Likes

Thank you!

Thank you! it works now

or Else ;

DT.Asenumerable.Where(Function(r) Not (String.isNullorEmpty(r(“Start Date”).Tostring.Trim) or String.isNullorEmpty(r(“End Date”).Tostring.Trim))).Copytodatatable

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.