Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Lookup in Excel

I'm trying to create a lookup to find the optimal size to use in the attached file. In column A I have my finish sizes. In column H I have the starting sizes. What I need to do is find the next largest size from Column H that is greater than .0050 from the finish size in column A and put that size in column B. How can I do this?
Sample-File.xlsx
0
Lawrence Salvucci
Asked:
Lawrence Salvucci
  • 3
  • 2
1 Solution
 
barry houdiniCommented:
Can you sort H2:H17, they are mostly sorted I think but H17 is out of order. If you sort that range then you can use this formula in B2 copied down

=IFERROR(IF(A2+0.00499<H$2,H$2,INDEX(H$2:H$17,MATCH(A2+0.00499,H$2:H$17)+1)),"No larger size")

...or a shorter array formula to do the same

=IFERROR(SMALL(IF(H$2:H$17>=A2+0.005,H$2:H$17),1),"No larger size")

confirmed with CTRL+SHIFT+ENTER

regards, barry
0
 
barry houdiniCommented:
See attached for examples of both formulas.....

barry
26879978.xlsx
0
 
Lawrence SalvucciInformation Technology ManagerAuthor Commented:
Hi Barry,

I tried your formula but it's always pulling .2580 as the diameter as the size to use.
0
 
Lawrence SalvucciInformation Technology ManagerAuthor Commented:
nevermind. I see your file now and it's working.
0
 
Lawrence SalvucciInformation Technology ManagerAuthor Commented:
Thanks for the quick response! Much appreciated!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now