Help on excel table

theexpat

New Member
Joined
Feb 20, 2016
Messages
4
Table1:Main Table
Product # colour stage time
111 red s1 00:00:00
222 white s2 01:00:00
333 blue s1 02:00:00
444 red s3 03:00:00
555 red s4 04:00:00


the above table updated automatically from another sheet , each product goes trough stages the start sage S1 and the end stage S4 ,what i want , for example take product number 111 , the stage S1 become S2 I want the tracking information to be in another table as below




Table2:
111 red s1 00:00:00
111 red s2 00:30:00
222 white s2 01:00:00
333 blue s1 02:00:00
444 red s3 03:00:00
555 red s4 04:00:00

another example, if product 444 changes from s3 to s4 the the updated table (table2) will be as below :



Table2:
111 red s1 00:00:00
111 red s2 00:30:00
222 white s2 01:00:00
333 blue s1 02:00:00
444 red s3 03:00:00
444 red s4 03:30:00
555 red s4 04:00:00

could this be done by formula or VB code please help - highly appreciated.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Cross-posted here: Table tracking

Please take the time to read the forum rules on cross-posting and abide by them in future. Thanks.
 
Upvote 0

Forum statistics

Threads
1,215,268
Messages
6,123,966
Members
449,137
Latest member
yeti1016

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