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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Here is an example worksheet with the needed data output to the right...



Date assignedNumNameCurrentStatusDuplicateDate 1Date 2Date 3Date 4Donald D Total assigned 2016 Donald D Status 2016 Donald D Date 1 Donald D Date 2 Donald D Date 3 Donald D Date 4 Donald D Date 5
1/4/20169301Donald DuckExtendedEMPTY0EMPTYEMPTYEMPTYEMPTY9301820793018207420772419205
1/6/20162205Donald DuckCompleted9001/06/1601/18/1602/03/1602/03/162205
1/6/20163254Donald DuckProgress11EMPTYEMPTYEMPTYEMPTY8207
1/11/20168207Donald DuckExtended2011/13/16EMPTYEMPTYEMPTY4207
1/12/20166238Donald DuckRejectedEMPTY1EMPTYEMPTYEMPTYEMPTY7241
1/15/20164207Donald DuckProgressEMPTY003/15/1604/10/16EMPTYEMPTY9205
1/8/20167241Donald DuckRejectedEMPTY004/21/1604/25/1604/28/16EMPTY
1/21/20163246Mickey MouseCompletedEMPTY007/01/1610/12/1610/12/1610/13/16Elmer F Total assigned Jan-Feb 2017Elmer F Status Jan-Feb 2017 Elmer F Date 1 Elmer F Date 2 Elmer F Date 3 Elmer F Date 4 Elmer F Date 5
1/18/20163207Mickey MouseExtended20EMPTYEMPTYEMPTYEMPTY3271932032719320426913061256
2/1/20169233Mickey MouseCompletedEMPTY1EMPTYEMPTYEMPTYEMPTY9320
2/1/20165240Mickey MouseReturned10006/02/1606/25/16EMPTYEMPTY4269
2/2/20166352Mickey MouseExtendedEMPTY004/05/1604/05/16EMPTYEMPTY1306
2/3/20169205Donald DuckRejectedEMPTY007/18/1610/13/1604/05/1604/05/161256
1/28/20173271Elmer FuddExtendedEMPTY0EMPTYEMPTYEMPTYEMPTY5203
2/4/20175203Elmer FuddCompleted9001/06/1601/18/1602/03/1602/03/16
2/4/20178317Elmer FuddProgress11EMPTYEMPTYEMPTYEMPTY
2/9/20179320Elmer FuddExtended2011/13/16EMPTYEMPTYEMPTY
2/17/20177235Elmer FuddRejectedEMPTY1EMPTYEMPTYEMPTYEMPTY
2/17/20174269Elmer FuddProgressEMPTY003/15/1604/10/16EMPTYEMPTY
2/19/20171306Elmer FuddRejectedEMPTY004/21/1604/25/1604/28/16EMPTY
2/22/20175206Wylie CoyoteCompletedEMPTY007/01/1610/12/1610/12/1610/13/16
2/22/20179314Wylie CoyoteExtended20EMPTYEMPTYEMPTYEMPTY
2/21/20178558Wylie CoyoteCompletedEMPTY1EMPTYEMPTYEMPTYEMPTY
3/1/20176274Wylie CoyoteReturned10006/02/1606/25/16EMPTYEMPTY
3/5/20171178Wylie CoyoteExtendedEMPTY04246542465EMPTYEMPTY
4/9/20171256Elmer FuddRejectedEMPTY07/18/1610/13/164/5/164/5/16
5/10/20171169Elmer FuddCompletedEMPTY0EMPTYEMPTYEMPTYEMPTY

<colgroup><col><col><col><col><col><col><col span="4"><col span="2"><col><col><col span="5"><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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