Finding the "nearest" or "closest" number

E

Edge

Hi,

I have a colomn of metals each with a Youngs Modulus value beside it.

I have a calculation running from a tangent line on the graph
(extension vs force) that provides a value for youngs modulus.

What i want to to is... use the calculated value to match up the metal
which has the closest value to the one just calculated.

I was going to use IF but there are 23 metals and therefore the 7 IFs
are not enough.

any ideas,

thanks,

Miochael
 
K

Ken Wright

You can also use Index and Match depending on whether you wanted to be able to
get the smallest number that is higher than your target number, as opposed to
VLOOKUPs largest number that is smaller than your target number. You can often
tweak either to get round both though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top