+ Reply to Thread
Results 1 to 4 of 4

MIN function in combination with LEFT

  1. #1
    Forum Contributor
    Join Date
    04-26-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    133

    MIN function in combination with LEFT

    Hello,

    I have several cells with values or ranges of values:

    Example from column A
    0,005
    0,001-0,002
    0,003
    0,002
    0,006

    I would like to find the minimum value

    In this case the formula should take the 5 left characters from every cell and give the minimum result.

    I was thinking to do this...

    Please Login or Register  to view this content.
    ... but obviously it doesn't work.

    I don't want to make a separate column unless it's necessary.

    Thanks for your advice!

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: MIN function in combination with LEFT

    Try this:

    =AGGREGATE(15;6;--LEFT(A1:A5;5);1)

  3. #3
    Forum Contributor
    Join Date
    04-26-2017
    Location
    Brussels, Belgium
    MS-Off Ver
    2010
    Posts
    133

    Re: MIN function in combination with LEFT

    Thanks so much Phuocam!
    It works like a charm!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: MIN function in combination with LEFT

    On a side note - any time you use LEFT/MID/RIGHT, your answer will always be text, and yo cannot use MIN on text.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Using IF function with mutilple criteria in combination with MID function
    By ryguy104gt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2013, 06:03 PM
  2. Partial match using LEFT() in combination with MATCH
    By bluerabbit in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 04-16-2013, 01:13 AM
  3. [SOLVED] Left Function in Combination with IF, LOOKUP, MATCH, or INDEX?
    By superwhoever in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-29-2012, 01:31 AM
  4. Combination Function
    By theshark43 in forum Excel General
    Replies: 9
    Last Post: 03-02-2010, 03:40 PM
  5. Combination of IF and LEFT
    By Sokol in forum Excel General
    Replies: 11
    Last Post: 01-11-2010, 09:17 AM
  6. IF and OR function combination
    By Mofa in forum Excel General
    Replies: 4
    Last Post: 03-20-2009, 08:27 AM
  7. Combination Function?
    By teresa2136 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2008, 10:20 AM
  8. Combination of left and right justification in a cell?
    By John Keith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2006, 12:30 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