Skip to main content

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.
doc closets value greater than 1

Find nearest value greater than

Find nearest without going over


arrow blue right bubble Find nearest value greater than

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:
doc closets value greater than 2

In the formula, A1:B6 is the range you want to find value, E1 is the value you look up.

arrow blue right bubble Find nearest without going over

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.
doc closets value greater than 3

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!
doc calculate age 1
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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...

Description


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!
Comments (12)
Rated 4.5 out of 5 · 2 ratings
This comment was minimized by the moderator on the site
I can't do this for my excel file
This comment was minimized by the moderator on the site
Bonjour, lorsque j'exécute l'une des deux formules, le résultat s'affiche #VALEUR!. j'ai pourtant essayé les mêmes étapes et pourtant ca ne marche pas.
This comment was minimized by the moderator on the site
Muito obrigado! Foi muito útil!
This comment was minimized by the moderator on the site
thank you soo much you saved my day by that amazing trick :)
This comment was minimized by the moderator on the site
nice me sirvio mucho
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
Me ayudó para poder determinar la jerarquía de cuentas contables y asignar una cuenta "madre" a cada subcategoría. ¡Gracias!
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
Fantastic formula, very simple and effective helped me out. I just had to change the position of the arrow to make it work for me from > to < !!
This comment was minimized by the moderator on the site
Comment perdre du temps...
This comment was minimized by the moderator on the site
hola, busco exactamente lo que decís en "¿Cómo Encontrar El Valor Más Cercano Mayor O Menor Que En Excel?" Tengo excel 2013, no funciona la fórmula, admás, por qué hay que presionar Mayús + Ctrl + Entrar teclas simultáneamente. Estoy tratando de traducirla por ejemplo el if por si para hacerla en excel español pero me arroja error, aguardo tu ayuda
This comment was minimized by the moderator on the site
But how to find closest values (multiple result)?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations