+ Reply to Thread
Results 1 to 5 of 5

Highest value with array

  1. #1
    Registered User
    Join Date
    07-02-2019
    Location
    Jakarta
    MS-Off Ver
    2019
    Posts
    5

    Highest value with array

    Dear all,

    Could someone help me with formula to get the expected result as below:

    Days Value
    0
    1 2,065
    2 869
    3 558
    4 393
    5 329
    6
    7 217
    8 18,800
    9 128
    10 157
    11
    12 121
    13 108
    14
    15

    Expected result :
    Days = 8, -> the highest value (18,800)

    Thank you
    Attached Images Attached Images

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,611

    Re: Highest value with array

    Maybe,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Highest value with array

    Maybe this?

    Enter formula in A19
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Format cell B19 as Custom, "Days: "= 0
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 Days Value
    2 0
    3 1 2,065
    4 2 869
    5 3 558
    6 4 393
    7 5 329
    8 6
    9 7 217
    10 8 18,800
    11 9 128
    12 10 157
    13 11
    14 12 121
    15 13 108
    16 14
    17 15
    18
    19 Days: = 8 (18,800)
    Last edited by AlKey; 07-02-2019 at 03:20 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    07-02-2019
    Location
    Jakarta
    MS-Off Ver
    2019
    Posts
    5

    Re: Highest value with array

    Dear all,

    It works with the formula from TMS..

    Thanks to TMS and AlKey

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,611

    Re: Highest value with array

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 01-28-2018, 05:16 AM
  2. Text Array and finding highest 'Value'
    By millerstreet in forum Excel General
    Replies: 7
    Last Post: 07-20-2017, 02:13 PM
  3. Replies: 3
    Last Post: 06-09-2016, 12:51 PM
  4. [SOLVED] Sorting an Array by Highest to Lowest [Excel 14, VBA Only]
    By lloydgodin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2015, 09:26 AM
  5. Search for SECOND highest number in an array
    By King Simon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-27-2013, 09:05 AM
  6. Replies: 6
    Last Post: 05-23-2008, 01:46 PM
  7. array for highest value
    By oracle_coorgi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-05-2007, 01:15 AM

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