+ Reply to Thread
Results 1 to 4 of 4

How do I return the highest value

  1. #1
    Registered User
    Join Date
    10-01-2008
    Location
    Boston, MA, USA
    MS-Off Ver
    2013
    Posts
    41

    How do I return the highest value

    I have a small spreadsheet (attached) and in cell K55 I want it to return the highest value from C56:J56 BUT if C56 is the highest value then K55 should show the answer 375. D56 should show Other.

    I apologise if my question isn't the clearest.

    Thankyou in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: How do I return the highest value

    if you need a maximum the MAX function will do if you need a conditional then IF.

    eg =MAX(D56:F56)


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: How do I return the highest value

    In K55

    =IF(C56=MAX(C56:J56),375,MAX(C56:J56))

    When do you require D56 to return "Other"? When K55 is 375? If so,

    =IF(K55=375,"Other","")
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: How do I return the highest value

    Is this what you need?
    K55=IF(MAX(C56:J56)=J56,375,MAX(C56:J56))
    K56=IF(K55=375,"other","")

+ 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