collect data

cgriff

Board Regular
Joined
Aug 26, 2002
Messages
201
I have data in a sheet i want copy to another sheet it looks like this

Qty
1 data data ect
111 222 333 (this line required)
0 111 2222 444

5 111 3333 222

I want to pick up only the items with a qty that is greater than 0 but I also need the lines of data under this,I would copy this in a new sheet Hope I am making sense.

Thanks in advance
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
you can use an advanced filter to identify & isolate records that match your creiteria, but you loose mo on the 'lines under it' bit. Care to post a snapshot of your data (download the html maker addin from the link below this post) & give an example & your expected results.

More details please...

Paddy
 
Upvote 0
On 2002-08-28 14:05, PaddyD wrote:
you can use an advanced filter to identify & isolate records that match your creiteria, but you loose mo on the 'lines under it' bit. Care to post a snapshot of your data (download the html maker addin from the link below this post) & give an example & your expected results.
Chris data.xls
QRSTU
1QtyMachiningInfoXYZ
21border245060018
3123333333
4441144
5
62border64340018
75552277
85border77011518
91border77054318
Chris data



More details please...

Paddy
 
Upvote 0
Ok - I think I get you...is this right:

Problem

I have 5 columns of data. Column A is 'Quantity'. I need to identify all records where 'Quantity >=1. But, the "quantity column is 'gappy'.


If I've understood you, the easiest way will be to 'fill in the gaps in your data. There is a straightforward trick to do this. See eliW's suggestion in the following:

http://www.mrexcel.com/board/viewtopic.php?topic=19246&forum=2&5

So:

1) use that method to fill the gaps
2) select the newly ofilled-in data, copy it, and paste special values back onto itself to preserve the data
3) Do a filter for quantity > 0

..should get all the records you want.

Paddy
 
Upvote 0
On 2002-08-28 15:00, PaddyD wrote:
Ok - I think I get you...is this right:

Problem

I have 5 columns of data. Column A is 'Quantity'. I need to identify all records where 'Quantity >=1. But, the "quantity column is 'gappy'.


If I've understood you, the easiest way will be to 'fill in the gaps in your data. There is a straightforward trick to do this. See eliW's suggestion in the following:

http://www.mrexcel.com/board/viewtopic.php?topic=19246&forum=2&5

So:

1) use that method to fill the gaps
2) select the newly ofilled-in data, copy it, and paste special values back onto itself to preserve the data
3) Do a filter for quantity > 0

..should get all the records you want.

Paddy

Thanks paddy for your effort this is not what I need as the filled in numbers would cause problems in my data later on,is there a way of collecting the Qty + the group of data ie q2 to q4?
 
Upvote 0
OK - your data's a mess but I guess we'll have to live with that...

I still think the easiest way to go will be to 'fill in' the data & use a filter. The following gives one method of creating a new column (called 'Num') that does the 'filling in'. Once you've filtered the records, you can delete the column if necessary.
Book4.xls
ABCD
1NumQtyMachiningInfoX
211border2450
31123333
414411
51
622border643
7255522
855border770
911border770
10
11
12
Sheet2



"cos of the way you have your data set up (missing values, blank rows in the data) a formula basd approach to get what you want without adding extra columns / filling in the data is going to be complex. If you have an aversion to adding a new column / extra data, a VBA solution might be the best option.

Paddy
 
Upvote 0
I wouldn't have thought so, but I don't really do vba...here's hoping someone who does is looking...
 
Upvote 0

Forum statistics

Threads
1,213,557
Messages
6,114,287
Members
448,562
Latest member
Flashbond

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top