Forum Discussion
G_Torres
Feb 17, 2020Copper Contributor
Unable to delete empty rows and columns
I am unable to delete empty cells / rows / columns from my worksheet - I choose Delete and nothing happens. I have tried just cutting and pasting my data to a new document, but all of the empty cells...
SergeiBaklan
Aug 14, 2023MVP
As variant
=TEXTBEFORE(D2, "Days", , , , 0) +
RIGHT(TEXTBEFORE(D2, " Hours", , , , 0), 2) / 24 +
RIGHT(TEXTBEFORE(D2, " Minutes", , , , 0), 2) / 24 / 60 +
RIGHT(TEXTBEFORE(D2, " Seconds", , , , 0), 2) / 24 / 60 / 60