Prev Previous Post   Next Post Next
  #5   Report Post  
Max
 
Posts: n/a
Default

Assuming source table in Sheet1, cols A to D, data from row2 down (*Link to
a sample file is provided below)

In Sheet1
---------------
Use an empty col to the right of the data, say col E?
Put in E2: =IF(A2="","",IF(A2=1,ROW(),""))
Copy down to say, E20, to cover the max expected data range in the table

In Sheet2
-----------
With the same headers in A1:D1

Put in A2:
=IF(ISERROR(SMALL(Sheet1!$E:$E,ROWS($A$1:A1))),"", INDEX(Sheet1!A:A,MATCH(SMA
LL(Sheet1!$E:$E,ROWS($A$1:A1)),Sheet1!$E:$E,0)))

Copy A2 across to D2, fill down to D20
(cover the same range as in Sheet1)

Sheet2 will auto-return only the rows from Sheet1
where col A contains: 1, all bunched at the top

*Here's a sample file with the implemented construct:
http://flypicture.com/p.cfm?id=50033

(Right-click on the link: "Download File"
at the top in the page, just above the ads)

File: Baffle_misc_1.xls
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Baffle, Atlanta, Ga" wrote in
message ...
Thank you, But it did not work
I am very new to this.
I have a sheet - sheet 1 which has names in column b, c, d and if the

number
one is in column A on sheet one, I want it to pull the names in column

b,
c, d on sheet 1 to sheet 2 column b, c, d. If sheet 1 column a has z

zero
I want it to skip it and go to the next row with a number 1 in column A.

You
see, I only want the data on sheet 2 if I have a one in column 1. I want

it
to skip all records until it sees a One again in column a sheet one.

Does this help





 
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
Can I view an excell document without excell (not installed wit. Gordon Excel Discussion (Misc queries) 8 May 2nd 06 05:41 AM
F7 in zip field when doing mail merge from excell file kshinn15 Excel Discussion (Misc queries) 0 April 16th 05 09:52 PM
Can I view an excell document without excell (not installed wit. Kevin Excel Discussion (Misc queries) 1 February 16th 05 08:27 PM
lable ranges in Excell david Excel Discussion (Misc queries) 2 February 2nd 05 11:26 PM
EXCELL 2002 Glitch???? Gabriel20783 Excel Discussion (Misc queries) 1 November 29th 04 08:55 PM


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