Extract Data from a column, then place extracted data on separate row or sheet based on multiple criteria

gonzo789

New Member
Joined
Jan 12, 2015
Messages
15
I am currently working on a project in which over the past couple weeks I have not been able to remedy. I would like to extract data from COL B to another row based on multiple search criteria including date ranges e.g. 01/01/16 - 09/29/17 in COL A , Name COL C, the current COL D (which will need to include "completed" in one extraction, then omit "completed" in the next extraction), status COL E (one extraction for numbers, another for "empty", Duplicate Entry COL F (only need to extract values here with the value of 0) then whether or not there is a date in Date 1 then Date 2 then Date 3 then Date 4 COL G,H,I,J.

COL G H I J will require separate results as the dates are particular to what stage the review process is in.

What I usually do to find my output data is utilize filtering however, this is very time consuming as there are several thousand lines of data that I must extract COL B numbers from based on different COL C names.....

I have an example to post however, my account will not allow me to add attachments...

I hope this makes sense! Thank you in advance for any help. It is greatly appreciated!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Here is an example worksheet with the needed data output to the right...



[TABLE="width: 2429"]
<colgroup><col><col><col><col><col><col><col span="4"><col span="2"><col><col><col span="5"><col></colgroup><tbody>[TR]
[TD]Date assigned[/TD]
[TD]Num[/TD]
[TD]Name[/TD]
[TD]Current[/TD]
[TD]Status[/TD]
[TD]Duplicate[/TD]
[TD]Date 1[/TD]
[TD]Date 2[/TD]
[TD]Date 3[/TD]
[TD]Date 4[/TD]
[TD][/TD]
[TD][/TD]
[TD]Donald D Total assigned 2016 [/TD]
[TD]Donald D Status 2016 [/TD]
[TD]Donald D Date 1 [/TD]
[TD]Donald D Date 2 [/TD]
[TD]Donald D Date 3 [/TD]
[TD]Donald D Date 4 [/TD]
[TD]Donald D Date 5 [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/4/2016[/TD]
[TD="align: right"]9301[/TD]
[TD]Donald Duck[/TD]
[TD]Extended[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]9301[/TD]
[TD]8207[/TD]
[TD]9301[/TD]
[TD]8207[/TD]
[TD]4207[/TD]
[TD]7241[/TD]
[TD]9205[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/6/2016[/TD]
[TD="align: right"]2205[/TD]
[TD]Donald Duck[/TD]
[TD]Completed[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]0[/TD]
[TD]01/06/16[/TD]
[TD]01/18/16[/TD]
[TD]02/03/16[/TD]
[TD]02/03/16[/TD]
[TD][/TD]
[TD][/TD]
[TD]2205[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/6/2016[/TD]
[TD="align: right"]3254[/TD]
[TD]Donald Duck[/TD]
[TD]Progress[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]8207[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2016[/TD]
[TD="align: right"]8207[/TD]
[TD]Donald Duck[/TD]
[TD]Extended[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD]11/13/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]4207[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/12/2016[/TD]
[TD="align: right"]6238[/TD]
[TD]Donald Duck[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]7241[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/15/2016[/TD]
[TD="align: right"]4207[/TD]
[TD]Donald Duck[/TD]
[TD]Progress[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]03/15/16[/TD]
[TD]04/10/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]9205[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/8/2016[/TD]
[TD="align: right"]7241[/TD]
[TD]Donald Duck[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]04/21/16[/TD]
[TD]04/25/16[/TD]
[TD]04/28/16[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/21/2016[/TD]
[TD="align: right"]3246[/TD]
[TD]Mickey Mouse[/TD]
[TD]Completed[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]07/01/16[/TD]
[TD]10/12/16[/TD]
[TD]10/12/16[/TD]
[TD]10/13/16[/TD]
[TD][/TD]
[TD][/TD]
[TD]Elmer F Total assigned Jan-Feb 2017[/TD]
[TD]Elmer F Status Jan-Feb 2017 [/TD]
[TD]Elmer F Date 1 [/TD]
[TD]Elmer F Date 2 [/TD]
[TD]Elmer F Date 3 [/TD]
[TD]Elmer F Date 4 [/TD]
[TD]Elmer F Date 5 [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/18/2016[/TD]
[TD="align: right"]3207[/TD]
[TD]Mickey Mouse[/TD]
[TD]Extended[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]3271[/TD]
[TD]9320[/TD]
[TD]3271[/TD]
[TD]9320[/TD]
[TD]4269[/TD]
[TD]1306[/TD]
[TD]1256[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/1/2016[/TD]
[TD="align: right"]9233[/TD]
[TD]Mickey Mouse[/TD]
[TD]Completed[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]9320[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/1/2016[/TD]
[TD="align: right"]5240[/TD]
[TD]Mickey Mouse[/TD]
[TD]Returned[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD]06/02/16[/TD]
[TD]06/25/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]4269[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/2/2016[/TD]
[TD="align: right"]6352[/TD]
[TD]Mickey Mouse[/TD]
[TD]Extended[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]04/05/16[/TD]
[TD]04/05/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]1306[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/3/2016[/TD]
[TD="align: right"]9205[/TD]
[TD]Donald Duck[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]07/18/16[/TD]
[TD]10/13/16[/TD]
[TD]04/05/16[/TD]
[TD]04/05/16[/TD]
[TD][/TD]
[TD][/TD]
[TD]1256[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1/28/2017[/TD]
[TD="align: right"]3271[/TD]
[TD]Elmer Fudd[/TD]
[TD]Extended[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD]5203[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/4/2017[/TD]
[TD="align: right"]5203[/TD]
[TD]Elmer Fudd[/TD]
[TD]Completed[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]0[/TD]
[TD]01/06/16[/TD]
[TD]01/18/16[/TD]
[TD]02/03/16[/TD]
[TD]02/03/16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/4/2017[/TD]
[TD="align: right"]8317[/TD]
[TD]Elmer Fudd[/TD]
[TD]Progress[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/9/2017[/TD]
[TD="align: right"]9320[/TD]
[TD]Elmer Fudd[/TD]
[TD]Extended[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD]11/13/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/17/2017[/TD]
[TD="align: right"]7235[/TD]
[TD]Elmer Fudd[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/17/2017[/TD]
[TD="align: right"]4269[/TD]
[TD]Elmer Fudd[/TD]
[TD]Progress[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]03/15/16[/TD]
[TD]04/10/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/19/2017[/TD]
[TD="align: right"]1306[/TD]
[TD]Elmer Fudd[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]04/21/16[/TD]
[TD]04/25/16[/TD]
[TD]04/28/16[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/22/2017[/TD]
[TD="align: right"]5206[/TD]
[TD]Wylie Coyote[/TD]
[TD]Completed[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]07/01/16[/TD]
[TD]10/12/16[/TD]
[TD]10/12/16[/TD]
[TD]10/13/16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/22/2017[/TD]
[TD="align: right"]9314[/TD]
[TD]Wylie Coyote[/TD]
[TD]Extended[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/21/2017[/TD]
[TD="align: right"]8558[/TD]
[TD]Wylie Coyote[/TD]
[TD]Completed[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]1[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3/1/2017[/TD]
[TD="align: right"]6274[/TD]
[TD]Wylie Coyote[/TD]
[TD]Returned[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD]06/02/16[/TD]
[TD]06/25/16[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3/5/2017[/TD]
[TD="align: right"]1178[/TD]
[TD]Wylie Coyote[/TD]
[TD]Extended[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]42465[/TD]
[TD="align: right"]42465[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4/9/2017[/TD]
[TD="align: right"]1256[/TD]
[TD]Elmer Fudd[/TD]
[TD]Rejected[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]7/18/16[/TD]
[TD="align: right"]10/13/16[/TD]
[TD="align: right"]4/5/16[/TD]
[TD="align: right"]4/5/16[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]5/10/2017[/TD]
[TD="align: right"]1169[/TD]
[TD]Elmer Fudd[/TD]
[TD]Completed[/TD]
[TD]EMPTY[/TD]
[TD="align: right"]0[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD]EMPTY[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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