[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Lookup in Excel

Posted on 2011-03-11
5
Medium Priority
?
257 Views
Last Modified: 2012-05-11
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
Comment
Question by:Lawrence Salvucci
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 35107932
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
 
LVL 50

Expert Comment

by:barry houdini
ID: 35107940
See attached for examples of both formulas.....

barry
26879978.xlsx
0
 
LVL 1

Author Comment

by:Lawrence Salvucci
ID: 35107945
Hi Barry,

I tried your formula but it's always pulling .2580 as the diameter as the size to use.
0
 
LVL 1

Author Comment

by:Lawrence Salvucci
ID: 35107948
nevermind. I see your file now and it's working.
0
 
LVL 1

Author Closing Comment

by:Lawrence Salvucci
ID: 35107951
Thanks for the quick response! Much appreciated!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question