How to find closest value greater than or less than in Excel?
In Excel, we can use LOOKUP function to find a value which equals to a specific value, but if there are no values which absolutely match to the lookup value, there will return nothing. However, have you ever tried to find the closest value with greater than or less than a specific value as below screenshot shown? In this article, I will introduce some formulas which can quickly find the nearest value greater than or less than the lookup value in Excel.
Select a blank cell which you will put the lookup result, type this formula =MIN(IF(A1:B6>E1,A1:B6)), and press Shift + Ctrl + Enter keys simultaneously. See screenshot:
Select a blank cell which you will place the lookup result, type this formula =MAX(IF(A1:B6<E1,A1:B6)), and press Shift + Ctrl + Enter keys.
In the formulas, A1:B6 is the range you want to find value, E1 is the value you look up.
Seconds to calculate current age based on given birthday date
|If you have a list of employees' birthday, how can you quickly calculate thier current ages for each other in Excel sheet? Here the Calculate age based on birth function in Kutools for Excel can quickly solve this problem whithout remembering the complex formula. Click for full-featured 30 days free trial!|
|Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.|
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!