Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to find top five highest value

    hello!!!
    i have five txt file in one folder(cat2t.txt,cat9t.txt,cat6t.txt,cat43t.txt,cat19t.txt)
    and i need to extract data from this file without insert manually...
    so how to find top five highest value in column total and display together with column number in this five txt file..
    i'm stuck because it must find randomly...and all five txt file is different value...
    i don't know how to coding it???? please show me...
    please help me!!! i'm a newbie....


    Number Execs. Total %/Part %/Exe
    ---------------------------------------------------------------
    10 563 4 0.71 0.71
    900 559 11 1.95 1.97
    901 548 1 0.18 0.18
    1000 398 1 0.18 0.25
    1001 397 3 0.53 0.76
    1003 394 5 0.89 1.27
    1006 389 3 0.53 0.77
    1008 386 3 0.53 0.78
    1009 383 3 0.53 0.78
    2003 340 1 0.18 0.29
    2004 339 23 4.09 6.78
    2011 316 1 0.18 0.32
    2503 315 1 0.18 0.32
    3000 314 1 0.18 0.32
    3024 313 23 4.09 7.35
    3025 290 5 0.89 1.72
    3026 285 14 2.49 4.91
    3033 271 6 1.07 2.21
    3500 265 2 0.36 0.75
    3512 263 1 0.18 0.38
    5010 262 3 0.53 1.15
    5019 259 1 0.18 0.39
    5025 258 1 0.18 0.39
    6010 257 4 0.71 1.56
    7001 253 1 0.18 0.40
    7012 252 12 2.13 4.76
    8000 547 97 17.23 17.73
    8001 450 2 0.36 0.44
    8100 448 51 9.06 11.38
    8102 51 50 8.88 98.04
    8207 380 1 0.18 0.26
    8211 379 39 6.93 10.29
    8212 379 39 6.93 10.29
    Last edited by taurus; 02-05-2010 at 02:34 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •