ranks without gaps

ghostrider001uk

New Member
Joined
Aug 6, 2009
Messages
4
Hi,

In column A I have got times eg.(08:00,09:00,09:00,09:30,10:00)
In Column B i'm getting the results (1,2,2,4,4,6) As it should be.
How can i get the results (1,2,2,3,3,4)

rank.jpg


Can someone help please
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try...

B2, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=SUM(IF(A2>$A$2:$A$7,1/COUNTIF($A$2:$A$7,$A$2:$A$7)))+1
 
Upvote 0
Hi Domenic
Call me thick but what with the dollar signs?

this sheet is part of a much larger sheet simplified.

the times refer to delivery time, some time a customers will put 2 orders in for one load hence why there are on occasions duplicate time but they are part of the some load plan
i.e
rank 1 = load 4th,
both of the rank 2 = load 3rd,
both of the rank 3 = load 2nd and
rank 4 = load first on the trainer

I am trying to get it to determine and place "load 1st" etc. in the right order with no jumps between loads.
hope the pic can explain it more clearer than me.
2009-08-06_202726.jpg


regards
 
Upvote 0
a small change to Domenic's suggestion would do,

Excel Workbook
AB
1TimeLoading
206:005
320:001
420:001
512:004
605:006
705:006
815:003
919:002
Sheet5
Excel 2003
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}. Note: Do not try and enter these manually yourself
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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