returning desired rows

Axd76

New Member
Joined
Feb 3, 2019
Messages
1
Hi all

I am fairly experienced with excel and have a moderate degree of visual basic experience, but I am very new to excels query editor. I have a query that contains approximately 36000 records that tracks a work production system. It creates a record every couple of minutes of a production run. My question is this...

I have a column that counts records, another that has a run number (there may be a hundred records all with the same run number) and other columns that have specific data to that run.

Is it possible to filter the query so it shows only the final record for each run. So when the run number changes in the run id column, only show the last row entered (for every run). Usually I would work around this with VB, but this file is very large and my works network leaves alot to be desired, so efficiency is key here. I need the file to be much much smaller than it is with 36,000 rows in it.

Any help would be much appreciated, and any more information can be provided

Regards and thank you in advance

Dan
 
Last edited by a moderator:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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