Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Delete ROW based on Cell Contents

Is there a way to automatically delete a row based on a cell content within
that row. Example: Delete row 24 if B24 < 3. I need to apply this to an
entire worksheet.

Thanks, Heather
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Delete ROW based on Cell Contents

The only way to do that is to use a macro. Be very careful with this approach
as their is no undo and once deleted the row is permanently gone with no way
to get it back.

My preference for this type of thing is to use a filter. The original data
is still their but it is filtered out by your criteria. Let us know which way
you want to go.
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Is there a way to automatically delete a row based on a cell content within
that row. Example: Delete row 24 if B24 < 3. I need to apply this to an
entire worksheet.

Thanks, Heather

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Delete ROW based on Cell Contents

Filter sounds good--how would I do that?

"Jim Thomlinson" wrote:

The only way to do that is to use a macro. Be very careful with this approach
as their is no undo and once deleted the row is permanently gone with no way
to get it back.

My preference for this type of thing is to use a filter. The original data
is still their but it is filtered out by your criteria. Let us know which way
you want to go.
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Is there a way to automatically delete a row based on a cell content within
that row. Example: Delete row 24 if B24 < 3. I need to apply this to an
entire worksheet.

Thanks, Heather

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Delete ROW based on Cell Contents

Data | Filter | Auto Filter

heading become drop downs. You will probably want Custom where you can
specify 3
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Filter sounds good--how would I do that?

"Jim Thomlinson" wrote:

The only way to do that is to use a macro. Be very careful with this approach
as their is no undo and once deleted the row is permanently gone with no way
to get it back.

My preference for this type of thing is to use a filter. The original data
is still their but it is filtered out by your criteria. Let us know which way
you want to go.
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Is there a way to automatically delete a row based on a cell content within
that row. Example: Delete row 24 if B24 < 3. I need to apply this to an
entire worksheet.

Thanks, Heather

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Delete ROW based on Cell Contents

This worked great, thanks! Would you mind also telling me how to permanently
delete rows using a macro. I have used macros before and am familiar with
them, but am not sure how to do this specifically.

Thanks again, Heather

"Jim Thomlinson" wrote:

Data | Filter | Auto Filter

heading become drop downs. You will probably want Custom where you can
specify 3
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Filter sounds good--how would I do that?

"Jim Thomlinson" wrote:

The only way to do that is to use a macro. Be very careful with this approach
as their is no undo and once deleted the row is permanently gone with no way
to get it back.

My preference for this type of thing is to use a filter. The original data
is still their but it is filtered out by your criteria. Let us know which way
you want to go.
--
HTH...

Jim Thomlinson


"HeatherJ" wrote:

Is there a way to automatically delete a row based on a cell content within
that row. Example: Delete row 24 if B24 < 3. I need to apply this to an
entire worksheet.

Thanks, Heather



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I conditionally delete rows based on cell contents? John Chan Excel Worksheet Functions 3 May 17th 23 03:45 AM
delete contents of cell RDC Excel Discussion (Misc queries) 1 January 21st 09 04:13 PM
Delete cell contents Rob[_4_] Excel Discussion (Misc queries) 7 April 10th 07 12:34 PM
Delete all contents of cell but one word Hayette Hasham Excel Discussion (Misc queries) 5 January 18th 06 08:20 AM
Delete row based on contents of cell AndyG Excel Discussion (Misc queries) 6 November 17th 05 10:08 PM


All times are GMT +1. The time now is 02:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"