+ Reply to Thread
Results 1 to 4 of 4

Display the the maximums left cell...

  1. #1
    Registered User
    Join Date
    04-11-2006
    Posts
    3

    Display the the maximums left cell...

    Hallo everybody!

    I work with not normal distributions and I get data outputted in excel work sheets. The final excel work sheet is a 2000 lines long csv archive with two columns which include a large sequence of decimal numbers. The sheet looks like this:
    ____________A_____________B
    1_______2,624593_______8,58E-02
    2_______2,644125_______8,75E-02
    3_______2,663656_______0,084925
    4_______2,683187_______8,66E-02
    5_______2,702718_______0,084925
    6_______2,722257_______8,58E-02
    .
    .
    .
    2000____3,15584375_______0,1605242


    My problem:
    How can I have displayed on a cell (e.g. F5) the maximal number of column B and on an other cell (e.g. E5) the value of column A which is on the same line as the maximal value of column B???

    My question simplified:
    I type on cell F5
    =max(B:B)
    and let us assume that the maximal value is located on cell B1547
    How can I have displayed on cell E5 the value of cell A1547 ???

    Normally I solve my problem by using the auto filter (Data->Filter->Autofilter). But this procedure is very disturbing and uncomfortable – consider that I have to repeat it many times and that the data-queue very long is …

    Any other suggestions – script or function????

    thanks

  2. #2
    Pete_UK
    Guest

    Re: Display the the maximums left cell...

    So, what do you want to do with this?

    Pete


  3. #3
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    The highest value is =MAX(B:B)

    The corresponding cell is =OFFSET(E$1,MATCH(MAX(B:B,0),B:B)-1,0)

    --

    Quote Originally Posted by istratos
    Hallo everybody!

    I work with not normal distributions and I get data outputted in excel work sheets. The final excel work sheet is a 2000 lines long csv archive with two columns which include a large sequence of decimal numbers. The sheet looks like this:
    ____________A_____________B
    1_______2,624593_______8,58E-02
    2_______2,644125_______8,75E-02
    3_______2,663656_______0,084925
    4_______2,683187_______8,66E-02
    5_______2,702718_______0,084925
    6_______2,722257_______8,58E-02
    .
    .
    .
    2000____3,15584375_______0,1605242


    My problem:
    How can I have displayed on a cell (e.g. F5) the maximal number of column B and on an other cell (e.g. E5) the value of column A which is on the same line as the maximal value of column B???

    My question simplified:
    I type on cell F5
    =max(B:B)
    and let us assume that the maximal value is located on cell B1547
    How can I have displayed on cell E5 the value of cell A1547 ???

    Normally I solve my problem by using the auto filter (Data->Filter->Autofilter). But this procedure is very disturbing and uncomfortable – consider that I have to repeat it many times and that the data-queue very long is …

    Any other suggestions – script or function????

    thanks
    Last edited by Bryan Hessey; 04-11-2006 at 09:08 PM.

  4. #4
    Registered User
    Join Date
    04-11-2006
    Posts
    3

    all ok

    thank you for your suggestion
    I used the folowing function

    =INDEX(A:A;MATCH(MAX(B:B);B:B;0))

    It helped me a lot...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1