Hi, I have a bit clumsy decision for you, but I think it will do th
job:
How about moving your data starting from column B:
B C D
1 6000 236
2 6000 180
3 6001 126
4 6000 240
5 6002 156
6 6001 186
Let in cell E1 be the extention number you want the maximum for:
now in cell A1 type this function:
=IF(C1=$E$1,VALUE(C1&D1),"")
Now stretch A1 till the end of your data.
Cell F1 will be the result, there you have to type:
=VLOOKUP(MAX(A1:A6),A1

6,4,FALSE