VLOOKUP sorta works, but result is actually one cell up/or down.

mmcclusk2

New Member
Joined
May 9, 2012
Messages
4
I am trying to use a VLOOKUP on a table of manufacturing die cuts of certain sizes.

A formula tells me a number close to the die that is available. The rule is to use the next larger size die cut for the job.

An example of die sizes are:

Die Sizes
108.0
112.7
114.3
117.5

My formula gives me 114.22, therefore, I should use the 114.3 die.

However, the VLOOKUP says 112.7, not the answer I want.

How can I adjust this VLOOKUP to give me the next size down? I am guessing a IF, but I am not the best at writing IF statements.

Thanks for any help on this.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Can you sort the Die Sizes in DESCENDING order (largest on top) ?

If so, use

=INDEX(A2:A10,MATCH(114.22,A2:A10,-1))
 
Upvote 0
Can you sort the Die Sizes in DESCENDING order (largest on top) ?

If so, use

=INDEX(A2:A10,MATCH(114.22,A2:A10,-1))

Yep, resorted list big to small.

WOW! That worked so much better!

THANKS! Never used MATCH or INDEX before.

:beerchug: :pray: :bow: :grin:

Thanks!!!!
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top