+ Reply to Thread
Results 1 to 4 of 4

From a number of cells to pick the highest value

  1. #1
    Registered User
    Join Date
    06-10-2021
    Location
    Limassol, Cyprus
    MS-Off Ver
    2019
    Posts
    3

    From a number of cells to pick the highest value

    1. I have 5 cells from B6 to F6 and i want to create a formula in cell H6 to return as a result the highest number from cells B6:F6

    2.I have 5 cells from B3 to F3 and i want to create a formula in cell H3 to return a result that has the following rules:
    in case of positive result in any of the cells B3:F3 to write in cell H3 "Possitive".
    In case of any other result except positive to write in cell H3 "Negative". I have 5 cells from B6 to F6 and i want to create a formula in cell H6 to return as a result the highest number from cells B6:F6

    Any idea please for the above 2 problems.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: From a number of cells to pick the highest value

    In H3:

    =IF(COUNTIF(B3:F3,"Possitive"),"Possitive","Negative")

    I have used your spelling for "Positive", and you may need to change the commas ( , ) to semicolons ( ; ), depending on your regional settings.

    In H6 you can use this array* formula:

    =MAX(SUBSTITUTE(B6:F6,"<","")*1)

    Note that an array formula needs to be confirmed using the key combination of Ctrl-Shift-Enter (CSE), instead of the usual Enter.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-10-2021
    Location
    Limassol, Cyprus
    MS-Off Ver
    2019
    Posts
    3

    Re: From a number of cells to pick the highest value

    Thanks Pete_UK!

    It works perfectly!!!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: From a number of cells to pick the highest value

    You're welcome, and thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Pete

+ 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: 3
    Last Post: 03-22-2015, 12:30 PM
  2. [SOLVED] pick out the lowest, avg, highest number in a range that meets criteria
    By Zer0aim in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-04-2013, 09:28 PM
  3. [SOLVED] Compare two cells and pick up the common number..help and thanks.
    By NEW2006 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-20-2013, 10:18 AM
  4. Replies: 0
    Last Post: 09-06-2012, 10:41 AM
  5. Replies: 2
    Last Post: 02-23-2008, 08:28 PM
  6. [SOLVED] How do I Pick a cell with highest value from a range of cells?
    By Chappy1648 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2005, 09:06 AM
  7. [SOLVED] In Excel, I need to now how to pick the second highest number in .
    By Keith in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-19-2005, 12:06 PM

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