ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   EXCEL FORMULA (https://www.excelbanter.com/excel-programming/331973-excel-formula.html)

[email protected]

EXCEL FORMULA
 
I need to see if anyone can help me. I have data in cell E5 and I need
to delete the data in cell D7. I need a formula to check to see if
there is data in the cells in column E and if so, then delete the data
in column D.

Thanks,

Tom


Bob Phillips[_7_]

EXCEL FORMULA
 
For i = 1 To Cells(Rows.Count,"E").End(xlUp).Row
If Cells(i,"E").Value < "" Then
Cells(i,"D").ClearContents
End If
Next i

--
HTH

Bob Phillips

wrote in message
ups.com...
I need to see if anyone can help me. I have data in cell E5 and I need
to delete the data in cell D7. I need a formula to check to see if
there is data in the cells in column E and if so, then delete the data
in column D.

Thanks,

Tom





All times are GMT +1. The time now is 04:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com