Using the rank function PLEASE HELP!


New Member
May 4, 2016
Hello All, I have multiple vehicles at work and we make multiple drops during a day.

I am currently downloading a days’ worth of information for the entire fleet and would like to rank the individual vehicles by the first job completed and then ascending all by the time it was completed (I can’t have them mixed, they must be grouped together by registration and ranked by individual registration group then job completed).

Hopefully I should then have a vehicles registration in the order of the drops for that day. For example, Reg VW has 1st job completed at 9am, VW has 2nd job at 9:11am etc.

I haven’t explained this very well and I apologise in advance!

The columns are vehicle reg = “BB” and the job completed = “AT”. The job completed is in the following date / time format “12/11/2019 07:47:46”

Thanks in advance.

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.


Well-known Member
Dec 3, 2018
Office Version
You can upload an image or file to the cloud with examples of what you have and what you expect from the result.

You could upload a copy of your file to a free site such Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.

Forum statistics

Latest member

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...