#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Function needed

Hi everyone!
I need your help. I have a worksheet with many rows and 6 columns. Every
column has one number. I need to delete every row that has 3 or more numbers
followed.
E.g.
Col A Col B Col C Col D Col E Col F
1 5 20 21 22 70

Thank you very much
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Function needed

In the first empty column, I'd put

=count(A1:E1) (or whatever column you are counting to.

Then use the autofilter function to select the rows you want to delete.



"FMST" wrote:

Hi everyone!
I need your help. I have a worksheet with many rows and 6 columns. Every
column has one number. I need to delete every row that has 3 or more numbers
followed.
E.g.
Col A Col B Col C Col D Col E Col F
1 5 20 21 22 70

Thank you very much

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Function needed

on column G
start data on Row2
H2 =if(count(A2:F2)2,"delete this row","do not delete this row")
auto filterdelete this row
all visible/selected rows will be deleted which contain numbers from 3 to 6.

"FMST" wrote:

Hi everyone!
I need your help. I have a worksheet with many rows and 6 columns. Every
column has one number. I need to delete every row that has 3 or more numbers
followed.
E.g.
Col A Col B Col C Col D Col E Col F
1 5 20 21 22 70

Thank you very much

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default Function needed

FMST,
1. Make sure you have the original file stored separately.
2. Note: a number on a text format like "-1" or "+1" will not be read as a
number.
3. Make sure that you check the format of your the data - as you need it
like general or text.
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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Function Needed! Please Help! Rashid Excel Worksheet Functions 3 April 20th 06 01:49 AM
Help needed with function Kevin Excel Worksheet Functions 2 January 28th 06 06:29 AM
Desperate Help needed with a function. Lori Excel Worksheet Functions 3 July 21st 05 03:19 AM
IF function help needed jmcclain Excel Worksheet Functions 2 February 23rd 05 04:33 PM


All times are GMT +1. The time now is 03:58 AM.

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"