Get maximum of comma-separated values in a cell
问题 In a cell I have comma-separated numbers. I would like to have the max value of these numbers. eg: A1 = "2,5,1,4" what should be the formula in B1 to return the value 5? 回答1: Assuming A1 contains a list of positive integers between 1 and 999 , separated by commas but with no spaces, you can use this formula to find the highest number present =MATCH(1000,INDEX(FIND(","&ROW(INDIRECT("1:999"))&",",","&A1&","),0)) That searches for all numbers between 1 and 999 and MATCH finds the "position" of