+ Reply to Thread
Results 1 to 3 of 3

greater of three numbers

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    2

    greater of three numbers

    suppose i have A B C
    22 23 25.
    I want it to calculate the greatest of three and display which is greater A or B or C

    A B C result
    22 23 25 C
    21 22 19 B

  2. #2
    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,936

    Re: greater of three numbers

    Hi and welcome to the forum

    Try this, copied down...
    =INDEX($A$1:$C$1,1,MATCH(MAX(A2:C2),A2:C2,0))
    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

  3. #3
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Re: greater of three numbers

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the forum

    Try this, copied down...
    =INDEX($A$1:$C$1,1,MATCH(MAX(A2:C2),A2:C2,0))
    thank u ...it worked

+ 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] Add all numbers greater than 0
    By Mayzach in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 04:14 PM
  2. pick top 10 numbers greater than 0
    By xpostie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-22-2013, 02:44 AM
  3. Greater Than/Less Than Multiple Numbers
    By artiststevens in forum Excel General
    Replies: 4
    Last Post: 01-01-2011, 08:45 PM
  4. the greater of 2 numbers
    By Karen in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-16-2006, 02:35 PM
  5. greater than replace numbers
    By mja in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2005, 03: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