Lookups or Calculated field?

PivotIdiot

Board Regular
Joined
Jul 8, 2010
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone.
I'm struggling a bit with what i thought would be a fairly simple table of values.

I have a data connection to a table with multiple columns that represent our current live works orders.
The fields i'm interested in are something like:
WorksOrderSequenceDepartmentDurationComplete
4001WELD20YES
4002FITTING40NO
4011WELD30YES
4012MACHINE60NO
4013PAINT120NO
4014FITTING30NO
4021FITTING10NO
4031FITTING30NO
4041PAINT60NO

I want to show
WorksOrderCurrent Seq of Seq'sDepartmentSeq Duration Left
4002 of 2FITTING40
4012 of 4MACHINE60
4021 of 1FITTING10
4031 of 1FITTING30
4041 of 1PAINT60

I have managed to get the minimum not completed seq of the maximum sequence per works order but i cant for the life of me get the department. No matter what i try the department column expands the rest of the table to show all departments per works order.
Can somebody point me in the right direction please?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You could create a query that just groups by WorksOrder and calculates the min sequence number. Then merge that with your original data on WorksOrder and Sequence using an inner join.
 
Upvote 0
Solution
This is exactly what ive just done, came back here to update. Seems to be working wonderfully, thanks for your quick response!
 
Upvote 0

Forum statistics

Threads
1,225,686
Messages
6,186,435
Members
453,354
Latest member
Ubermensch22

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