+ Reply to Thread
Results 1 to 4 of 4

Max Function Not Working Properly

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Max Function Not Working Properly

    Book 1 Duplicates.xlsx

    Can someone please help. When I type something in B2 I want to search H3:H3000 for anything that matches what is in B2. Column G is supposed to Max any matches in H. I need help because Max in column G does not work right. As you can see in the workbook I have two #1,s and two #2's etc. and in Column E its only listing the first of each number. It should be listing all matching items. Thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Max Function Not Working Properly

    Try changing the formula in G3 to:

    =IF(ISNUMBER(SEARCH($B$2,H3)),MAX($G$2:G2)+1,0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    10-26-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    133

    Re: Max Function Not Working Properly

    Works Awesome!!
    Thanks Tony V

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Max Function Not Working Properly

    You're welcome. Thanks for the feedback!

+ 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. Day Function Not Working Properly
    By clh7837 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 12:51 PM
  2. OFFSET function not working properly.
    By Terpatz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-05-2014, 09:41 PM
  3. Indirect function not working properly
    By zuri125 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2012, 01:40 PM
  4. [SOLVED] Sort function not working properly...
    By dllivermore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2012, 05:45 PM
  5. sumproduct function not working properly
    By jls141 in forum Excel General
    Replies: 1
    Last Post: 04-27-2012, 03:15 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