+ Reply to Thread
Results 1 to 11 of 11

Max of Values

  1. #1
    Registered User
    Join Date
    08-16-2017
    Location
    Germany
    MS-Off Ver
    15.31
    Posts
    35

    Max of Values

    Hi All,

    I am trying to find max of 1-Low, 2-Medium, 3-High in excel sheet

    for for example column C is:
    2- Medium
    3- High
    1-Low
    2-Medium
    3-High
    The Value in Column D should be max of all above values which is 3-High

    How can this be done? I tried max function but it doesnt work.

    Thanks
    Kierra

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Max of Values

    try (with your example)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    array entered

  3. #3
    Registered User
    Join Date
    08-16-2017
    Location
    Germany
    MS-Off Ver
    15.31
    Posts
    35

    Re: Max of Values

    Thanks for reply.
    But it gives the result: "2-Medium" not 3-High but the highest value is high

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Max of Values

    array entered means enter with Ctrl+Shift+Enter

  5. #5
    Registered User
    Join Date
    08-16-2017
    Location
    Germany
    MS-Off Ver
    15.31
    Posts
    35

    Re: Max of Values

    Ahh okay. But it still gives "3-Medium" , not "3-High". Strange

  6. #6
    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: Max of Values

    Try this
    regular formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v C D
    1
    2 2- Medium 3-High
    3 3- High
    4 1-Low
    5 2-Medium
    6 3-High
    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

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Max of Values

    here is another way with PowerQuery
    or array entered: =INDEX($C$2:$C$6,MATCH(MAX(--LEFT($C$2:$C$6)),--LEFT($C$2:$C$6),0))
    Attached Files Attached Files
    Last edited by sandy666; 06-19-2018 at 10:19 AM.

  8. #8
    Registered User
    Join Date
    08-16-2017
    Location
    Germany
    MS-Off Ver
    15.31
    Posts
    35

    Re: Max of Values

    Thanks it worked!

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Max of Values

    which one?

    Read me

    Try to avoid joining to my Black List by doing this below

    If that takes care of your original question, & to say Thanks and for better Motivation, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

  10. #10
    Registered User
    Join Date
    08-16-2017
    Location
    Germany
    MS-Off Ver
    15.31
    Posts
    35

    Re: Max of Values

    Both of them worked!
    But I am using the one with Array

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Max of Values

    Ok, thanks for answer

+ 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. [SOLVED] VBA Code replace old values to new values depends upon column values
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2015, 08:19 AM
  2. [SOLVED] VBA code to look up a list of values based on entered values and return all values.
    By dnwadams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2015, 10:14 PM
  3. [SOLVED] Extract values (row values and column values) with formula
    By bjnockle in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-17-2014, 10:13 AM
  4. [SOLVED] vba to Replace Old values by new values depends upon cell values in AC:AC col
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2014, 08:15 AM
  5. Replies: 0
    Last Post: 10-12-2012, 01:08 PM
  6. [SOLVED] How to lookup values same row values different column values
    By kgonzalbo in forum Excel General
    Replies: 5
    Last Post: 05-22-2011, 01:49 AM
  7. assigning date entries to week values and month values to sum column C-N values C-
    By the accountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2010, 09:52 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