Formula: Vlookup based on a number that's not in the table, but needs to be looked up rounded (based on the table).

milwphil

Board Regular
Joined
Aug 1, 2010
Messages
120
Real quick:

I have a Vlookup problem and I'm not sure if there's a better solution.

I'm trying to come up with a formula that will be looked up on a table that may not specifically exist.

For example:
The user enters a value of 6303, I'd like the vlookup to return "Pushing the limit". If the user enters 6500 to return "Way too much"

The table:
Column
A B
1000 Too little
3000 Almost enought
4000 Enough
5000 Could be less
6000 Pushing the limit
7000 Way too much

Is vlookup the formula to be using?

How should I approach this problem?

Any help is greatly appreciated!

Thanks,
Phil
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Had to have another go....:)

Back to the multipy and divide and fractions but it seems to work...

=ROUND(A1*2,-13/2)/2
 
Upvote 0
That still has nothing to do with using x.5 in the round...

=ROUND(A1*2,-13/2)/2
same result as
=ROUND(A1*2,-6)/2
same result as
=ROUND(A1*2,-6.5)/2
 
Upvote 0
Yeah the .5 doesn't work nor does the 13/2 just looks like it does... :)

The *2 and /2 do the magic.....

Couldn't see the wood for the trees.... :)
 
Upvote 0

Forum statistics

Threads
1,224,567
Messages
6,179,571
Members
452,927
Latest member
whitfieldcraig

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