Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jean
 
Posts: n/a
Default How do I delete rows with negative values all at once i.e. 47,000.

I am using Excel and need to delete at least 47,000 rows with negative values
in them all at once - Can this be done?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default How do I delete rows with negative values all at once i.e. 47,000.

Jean,

Yes. You can do it manually: Sort based on the column of values where the negative might be found,
then select the cells with negative numbers and delete the rows.

Or you could use a macro to do essentially the same thing. Just don't write a macro that steps
through row by row....

HTH,
Bernie
MS Excel MVP


"Jean" wrote in message
...
I am using Excel and need to delete at least 47,000 rows with negative values
in them all at once - Can this be done?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default How do I delete rows with negative values all at once i.e. 47,000.

If the negative values all appear in the same column, you can do this easily
with filters. Select your entire table. Then, from the menu bar, Data
Filter AutoFilter. Click the drop-down in the column that has the negative
values and select Custom. In that dialog, choose 'is less than' '0' and
click OK. Now only the rows to be deleted should be visible.
Select (click in) a cell in the first such row, and ctrl + shift + down
arrow. Now all the cells with the negative values will be selected. Back to
the menu bar: Edit Delete Row.
Now just turn off the filter: Data Filter AutoFilter.
HTH. --Bruce

"Jean" wrote:

I am using Excel and need to delete at least 47,000 rows with negative values
in them all at once - Can this be done?

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
ignore negative values when adding Eqa Excel Discussion (Misc queries) 3 November 9th 05 09:09 AM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
Want to delete rows Farooq Sheri Excel Discussion (Misc queries) 6 September 12th 05 12:46 PM
how do i prevent a #REF! error when i delete non adjacent rows? ChuckSF Excel Worksheet Functions 1 August 5th 05 05:08 AM
delete repeating rows aledger Excel Worksheet Functions 2 March 4th 05 08:43 PM


All times are GMT +1. The time now is 12:31 AM.

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

About Us

"It's about Microsoft Excel"