Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dannycol
 
Posts: n/a
Default Listing data without blank rows

I have an excel file with 4 work sheets.. in sheet named 'Claim sheet' i
have data (numbers and text) in cells CM10:CM1661 which is entered
periodically and deleted via formula linked with other cells in other sheets,
the majority of the 1661 rows are normally blank. What i need to do is on
sheet named 'Statement' list (starting in cell B10) all data in 'Claim sheet'
CM10:CM1661 without the blank rows. The number of rows with data should never
be more than 16 at any one time, so on sheet 'Statement' the data can be
listed in cells B10:B26.

Any help with the right formula will be much appreciated..
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Listing data without blank rows

I would use the AutoFilter (Data/Filter/AutoFilter) on column CM. Select
column CM, turn on AutoFilter, use non-blank for criteria. Then copy/paste
to the other worksheet

"Dannycol" wrote:

I have an excel file with 4 work sheets.. in sheet named 'Claim sheet' i
have data (numbers and text) in cells CM10:CM1661 which is entered
periodically and deleted via formula linked with other cells in other sheets,
the majority of the 1661 rows are normally blank. What i need to do is on
sheet named 'Statement' list (starting in cell B10) all data in 'Claim sheet'
CM10:CM1661 without the blank rows. The number of rows with data should never
be more than 16 at any one time, so on sheet 'Statement' the data can be
listed in cells B10:B26.

Any help with the right formula will be much appreciated..

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dannycol
 
Posts: n/a
Default Listing data without blank rows

Thanks for advice but this method is not good for me as the data in both
sheets are for viewing or printing only..

Dannycol

"JMB" wrote:

I would use the AutoFilter (Data/Filter/AutoFilter) on column CM. Select
column CM, turn on AutoFilter, use non-blank for criteria. Then copy/paste
to the other worksheet

"Dannycol" wrote:

I have an excel file with 4 work sheets.. in sheet named 'Claim sheet' i
have data (numbers and text) in cells CM10:CM1661 which is entered
periodically and deleted via formula linked with other cells in other sheets,
the majority of the 1661 rows are normally blank. What i need to do is on
sheet named 'Statement' list (starting in cell B10) all data in 'Claim sheet'
CM10:CM1661 without the blank rows. The number of rows with data should never
be more than 16 at any one time, so on sheet 'Statement' the data can be
listed in cells B10:B26.

Any help with the right formula will be much appreciated..

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Listing data without blank rows

The sheet is protected so that you cannot use a filter?
In sheet2 enter this somewhere in the first row and hit Control+Shift+Enter
and copy down until you get an error.

=INDEX(Sheet1!$CM$10:$CM$1661,SMALL(IF(Sheet1!$CM$ 10:$CM$1661<"",ROW(INDIRECT("1:"&ROWS(Sheet1!$CM$ 10:$CM$1661))),""),ROW()))

If you cannot enter it in the first row then change
ROW()
to
ROW() - (Your starting row number - 1)


"Dannycol" wrote:

Thanks for advice but this method is not good for me as the data in both
sheets are for viewing or printing only..

Dannycol

"JMB" wrote:

I would use the AutoFilter (Data/Filter/AutoFilter) on column CM. Select
column CM, turn on AutoFilter, use non-blank for criteria. Then copy/paste
to the other worksheet

"Dannycol" wrote:

I have an excel file with 4 work sheets.. in sheet named 'Claim sheet' i
have data (numbers and text) in cells CM10:CM1661 which is entered
periodically and deleted via formula linked with other cells in other sheets,
the majority of the 1661 rows are normally blank. What i need to do is on
sheet named 'Statement' list (starting in cell B10) all data in 'Claim sheet'
CM10:CM1661 without the blank rows. The number of rows with data should never
be more than 16 at any one time, so on sheet 'Statement' the data can be
listed in cells B10:B26.

Any help with the right formula will be much appreciated..

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dannycol
 
Posts: n/a
Default Listing data without blank rows

Thanks again..

I can insert the formula into row 1 and copied it down, this returns the
data ok but the blank cells return #NUM. instead of leaving the cells blank?

I need the data listing in Statement sheet (sheet 4) starting in row 10
(B10) when i change the formula Row() to Row(10) i get the usual error ..
formula contains an error..

Any ideas..

Regards


JMB" wrote:

The sheet is protected so that you cannot use a filter?
In sheet2 enter this somewhere in the first row and hit Control+Shift+Enter
and copy down until you get an error.

=INDEX(Sheet1!$CM$10:$CM$1661,SMALL(IF(Sheet1!$CM$ 10:$CM$1661<"",ROW(INDIRECT("1:"&ROWS(Sheet1!$CM$ 10:$CM$1661))),""),ROW()))

If you cannot enter it in the first row then change
ROW()
to
ROW() - (Your starting row number - 1)


"Dannycol" wrote:

Thanks for advice but this method is not good for me as the data in both
sheets are for viewing or printing only..

Dannycol

"JMB" wrote:

I would use the AutoFilter (Data/Filter/AutoFilter) on column CM. Select
column CM, turn on AutoFilter, use non-blank for criteria. Then copy/paste
to the other worksheet

"Dannycol" wrote:

I have an excel file with 4 work sheets.. in sheet named 'Claim sheet' i
have data (numbers and text) in cells CM10:CM1661 which is entered
periodically and deleted via formula linked with other cells in other sheets,
the majority of the 1661 rows are normally blank. What i need to do is on
sheet named 'Statement' list (starting in cell B10) all data in 'Claim sheet'
CM10:CM1661 without the blank rows. The number of rows with data should never
be more than 16 at any one time, so on sheet 'Statement' the data can be
listed in cells B10:B26.

Any help with the right formula will be much appreciated..



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default Listing data without blank rows

First of all, ROW(10) is not valid syntax. For what you had in mind the
syntax would be either one of the following (with $$ as necessary):

ROW(10:10)
ROW(A10)
ROWS(1:10)
ROWS(A1:A10)

However, what you really need for your task is to replace the ROW()
expression with

ROW()-ROW($A$10)+1 or
ROW()-ROW($A$9)

For your error handling you have a Conditional Format solution and a
modification of JMB's formula solution.

With CF you can use FormulaIs and formula for G10
=ISERROR(G10)
and set font color to white for this condition.

The more complex formula is to trap the error that SMALL might create
if ROW()-ROW($A$9) becomes more than the non-blank cells. Thus you need
the longer formula:

=IF(ISERROR(SMALL(IF(Sheet1!$CM$10:$CM$1661<"",RO W(INDIRECT("1:"&ROWS(Sheet1!$CM$10:$CM$1661))),"") ,ROW()-ROW($A$9))),"",INDEX(Sheet1!$CM$10:$CM$1661,SMALL( IF(Sheet1!$CM$10:$CM$1661<"",ROW(INDIRECT("1:"&RO WS(Sheet1!$CM$10:$CM$1661))),""),ROW()-ROW($A$9))))

Does this help?

Kostis Vezerides

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
listing data without blank rows Shooter Excel Worksheet Functions 17 April 24th 06 01:11 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Copy rows of data to another worksheet where ReturnDate is blank Helen McClaine Excel Discussion (Misc queries) 2 March 28th 05 11:33 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 10:50 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"