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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Status
Not open for further replies.

Forum statistics

Threads
1,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

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