Help with rank and difference.

Davebro

Board Regular
Joined
Feb 22, 2018
Messages
120
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
I am looking to find the highest number from A and then find the difference between the top and the other numbers. A is the time which varies, B is the number.

14:00:00​
170​
0​
14:00:00​
164​
6​
14:00:00​
163​
7​
14:00:00​
162​
8​
14:00:00​
161​
9​
14:00:00​
159​
11​
14:00:00​
158​
12​
14:00:00​
157​
13​
14:00:00​
155​
15​
14:00:00​
155​
15​
14:00:00​
150​
20​
14:30:00​
168​
0​
14:30:00​
159​
9​
14:30:00​
155​
13​
14:30:00​
155​
13​
14:30:00​
152​
16​
14:30:00​
152​
16​
15:00:00​
168​
0​
15:00:00​
160​
8​
15:00:00​
156​
12​
15:00:00​
154​
14​
15:00:00​
153​
15​
15:00:00​
150​
18​
15:00:00​
149​
19​
15:00:00​
148​
20​
15:00:00​
143​
25​
15:10:00​
168​
0​
15:10:00​
166​
2​
15:10:00​
163​
5​
15:10:00​
163​
5​
15:10:00​
164​
4​
15:10:00​
149​
19​
15:10:00​
148​
20​
15:10:00​
143​
25​
15:10:00​
142​
26​
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
How about
Fluff.xlsm
ABC
1
214:00:001700
314:00:001646
414:00:001637
514:00:001628
614:00:001619
714:00:0015911
814:00:0015812
914:00:0015713
1014:00:0015515
1114:00:0015515
1214:00:0015020
1314:30:001680
1414:30:001599
1514:30:0015513
1614:30:0015513
1714:30:0015216
1814:30:0015216
1915:00:001680
2015:00:001608
2115:00:0015612
2215:00:0015414
2315:00:0015315
2415:00:0015018
2515:00:0014919
2615:00:0014820
2715:00:0014325
2815:10:001680
2915:10:001662
3015:10:001635
3115:10:001635
3215:10:001644
3315:10:0014919
3415:10:0014820
3515:10:0014325
3615:10:0014226
Data
Cell Formulas
RangeFormula
C2:C36C2=INDEX($B$2:$B$100,MATCH(A2,$A$2:$A$100,0))-B2
 
Upvote 1
Solution
Wow, that's brilliant, thanks so much for your help.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,143
Messages
6,123,277
Members
449,093
Latest member
Vincent Khandagale

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