Excel optimum sorting option

Status
Not open for further replies.

Raymie

New Member
Joined
Jan 29, 2018
Messages
7
Hi

In simple terms I am trying to sort the below example by machine/previous operation finish date/recommended operation start day to give me an optimum start finish date for each work order/operation except on a much bigger scale. When I sort I get circular references because dates are dependant. I have tried using iterations but that just gives even worse result. Is there something different I should be doing?


[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"]Work Order[/TD]
[TD="align: center"]Operation[/TD]
[TD="align: center"]Machine[/TD]
[TD="align: center"]Cycle Days[/TD]
[TD="align: center"]Recommend Operation Start Date[/TD]
[TD="align: center"]Previous Operation Finish Date[/TD]
[TD="align: center"]Actual Operation Start Date[/TD]
[TD="align: center"]Actual Operation finish Date[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]0.5[/TD]
[TD="align: center"]01/01/2018[/TD]
[TD="align: center"]=vlookup of previous operation finish date[/TD]
[TD="align: center"]=either previous operation finish date or date of finish date of previous operation on machine[/TD]
[TD="align: center"]= Start Date plus cycle[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]0.2[/TD]
[TD="align: center"]02/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]0.4[/TD]
[TD="align: center"]03/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]0.7[/TD]
[TD="align: center"]30/12/2017[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]0.6[/TD]
[TD="align: center"]31/12/2017[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]0.8[/TD]
[TD="align: center"]01/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]4[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]0.5[/TD]
[TD="align: center"]02/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]5[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]0.4[/TD]
[TD="align: center"]03/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]6[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]0.6[/TD]
[TD="align: center"]04/01/2018[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[TD="align: center"]Same as above[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Status
Not open for further replies.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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