+ Reply to Thread
Results 1 to 3 of 3

Excel Returning 0 Values using =MAX

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Unhappy Excel Returning 0 Values using =MAX

    Hi,

    I have a row of referenced cells (from another worksheet) that i am trying to find the maximum value of. Unfortunately the =MAX value is returning a 0 value.

    The row of referenced cells are the result of a formula which is as follows:

    =MAX(E6:E30)&REPT("*",ISNUMBER(MATCH(MAX(E6:E30)&"~*",INDEX(E6:E30&F6:F30,0),0)))

    I suspect that the use of this formula is the reason that the 0 value is being returned. Can anyone help?

    Thanks
    Last edited by Barking_Mad; 01-08-2011 at 03:32 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel Returning 0 Values using =MAX

    The values being referenced are Text not Numbers, given the above you would want to use something like:

    =SUBSTITUTE(MAX((0&SUBSTITUTE(Sheet1!$A$1:$F$1,"*",".1"))+0)&"",".1","*")
    confirmed with CTRL + SHIFT + ENTER enter alone will not suffice
    where Sheet1!A1:F1 is your row of batting scores

    this should ensure Not Out's (*) get a higher value than the same score when dismissed and that where the Max result is a not out it is denoted as such (*)

  3. #3
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Excel Returning 0 Values using =MAX

    Cheers (as always) DonkeyOte! Works perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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