=max(.. but don't include any number above 699

still learning

Well-known Member
Joined
Jan 15, 2010
Messages
784
Office Version
  1. 365
Platform
  1. Windows
Hi
How would i write a max formula to look up the highest number below 699 ?
=max( A6:A300)

mike
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Just nest it in a MIN formula, i.e.
Excel Formula:
=MIN(MAX(A6:A300),699)
 
Upvote 0
Note:

I just had a thought that my solution may not do what you want.
If you had 3 values, like 800, 600, and 400, it would return 699, not 600.
If you want 600 in that case, go with Jeffrey's solution.
 
Upvote 0
Thanks Jeff, that's what I needed.
Hi Joe4. I wanted to exclude any number over 699

mike
 
Upvote 0
Thanks Jeff, that's what I needed.
Hi Joe4. I wanted to exclude any number over 699
Yeah, I realized that is probably what you were after I posted my reply.
My reply is how you would "cap" it at 699.
 
Upvote 0

Forum statistics

Threads
1,214,946
Messages
6,122,401
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top