![]() |
Deleting values less than 100
I want to select a large range of cells and delete the cells that have a
value less than 100. Any suggestions? |
Answer: Deleting values less than 100
Sure, here's how you can delete cells with values less than 100 in a large range of cells in Microsoft Excel:
That's it! This should delete all cells with values less than 100 in the selected range. Just be sure to double-check your data before deleting anything to make sure you're not accidentally deleting important information. |
Deleting values less than 100
seems to me you look for ClearContents instead of deleting cells. use
this macro Sub sth() Dim cell As Range For Each cell In Selection If cell.Value < 1000 Then cell.ClearContents End If Next cell End Sub On 14 Sty, 14:17, PointerMan wrote: I want to select a large range of cells and delete the cells that have a value less than 100. *Any suggestions? |
Deleting values less than 100
Select the cells and run this macro:
Sub clearsmall() Dim r As Range For Each r In Selection If r.Value < 100 Then r.Clear End If Next End Sub -- Gary''s Student - gsnu200826 "PointerMan" wrote: I want to select a large range of cells and delete the cells that have a value less than 100. Any suggestions? |
All times are GMT +1. The time now is 06:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com