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.|
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 14 days agoBut how to find closest values (multiple result)?
- To post as a guest, your comment is unpublished.· 1 years agofuck you faggot
- To post as a guest, your comment is unpublished.· 8 months agolit........