Calculate each value as a percent of the maximum
=B2/MAX($B$2:$B$6)Excel · result on the sample sheet: 5 rows (C2:C6)
Describe what you need and get a working MAX formula for Excel and Google Sheets, tested on real data before you copy it. MAX returns the largest number from a list of values or ranges: the top sale, the latest date, the highest temperature.
Each formula below was calculated on its own sample sheet. Open one to see the sheet, why it works, and to try it yourself.
=B2/MAX($B$2:$B$6)Excel · result on the sample sheet: 5 rows (C2:C6)
=MAX(0,B2-C2)Excel · result on the sample sheet: 5 rows (D2:D6)
=MAX(0,(C2-B2)*24-$G$1)Excel · result on the sample sheet: 5 rows (D2:D6)
=COUNTIF(B2:B11,MAX(B2:B11))Excel · result on the sample sheet: 3
=MAX(0,IF(C2="",$G$1,C2)-B2)Excel · result on the sample sheet: 6 rows (D2:D7)
=FILTER(A2:D10,D2:D10=MAX(D2:D10))Excel · result on the sample sheet: 1 row (A13:D13)
=IF(B2=MAX($B$2:$B$7),"Top store","")Excel · result on the sample sheet: 6 rows (C2:C7)
=MIN(B2,$G$1)*C2+MAX(0,B2-$G$1)*C2*$G$2Excel · result on the sample sheet: 5 rows (D2:D6)
You describe the task in plain English, and it writes the formula, using MAX where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.
MAX returns the largest number from a list of values or ranges: the top sale, the latest date, the highest temperature.
Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the MAX function page has a practice exercise.