+ Reply to Thread
Results 1 to 3 of 3

Index/Match Finding Max

  1. #1
    Forum Contributor
    Join Date
    11-22-2003
    Location
    Newport, Rhode Island
    MS-Off Ver
    2021
    Posts
    154

    Index/Match Finding Max

    Good morning to all,
    Using Excel 2010

    I have a range of A1:A12 that has text (wind directions) and in A13 I have a formula to find what wind direction shows up the most in that range. Here is that formula
    Please Login or Register  to view this content.
    it gives the value of SSW (which appears 5 times in the range).

    When I transpose the data across C1:N1 and have the formula in O1
    Please Login or Register  to view this content.
    it returns #REF!.
    I need help rewriting the formula in O1 so that it returns SSW.

    Attached is sample of worksheet. Thanks for any help you provide.
    Mike
    Attached Files Attached Files
    Last edited by windme; 01-04-2011 at 12:41 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index/Match Finding Max

    You need to switch the row/column arguments in the Index function when you are working with a row instead of a column...

    i.e.

    =INDEX(C1:N1,1,MATCH(MAX(COUNTIF(C1:N1,C1:N1)),COUNTIF(C1:N1,C1:N1),0))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    11-22-2003
    Location
    Newport, Rhode Island
    MS-Off Ver
    2021
    Posts
    154

    Re: Index/Match Finding Max

    Thanks NBVC, it works. Thanks for the explanation also.

    Mike

+ 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