VLOOKUP range of numbers

lm4

New Member
Joined
May 20, 2011
Messages
7
Hello,

I am trying to install a Vlookup for this data

TOP >2000
PARTICIPAIS >1000<2000
POTENCAIS >500<1000
PARTICIPATIVAS >200<500

meaning if the sale is more than 2000 then it is top , if it is between 1000-2000 it is participais , etc.

I tried using the VLOOKUP with exactly the data i entered above but it did not work.

HELP PLEASE!

Thank you very much
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Welcome to the forums!

Try:

=LOOKUP(A1,{0,200,500,1000,2000},{"Non Ranked","PARTICIPATIVAS ","POTENCAIS","PARTICIPAIS","TOP"})
 
Upvote 0
Is there a way to do this using values in cells rather than just typing the values into the formula? For example, if my value falls between A1 and B1 then it returns C1?
 
Upvote 0
Is there a way to do this using values in cells rather than just typing the values into the formula? For example, if my value falls between A1 and B1 then it returns C1?

Assuming your list of values is in B1:B10, and the returned values are in C1:C10, try:

=VLOOKUP(A1,B1:C10,2)
 
Upvote 0
Hello,

I am now trying to use Vlookup but for some reason it always gives me the same answer "CLASSE E" no matter the value i am changing in the cell.

this is the lookup table

J K

44 26254 CLASSE A
45 10983.5 CLASSE B
46 3841.5 CLASSE C
47 1939 CLASSE D
48 1106 CLASSE E

this is the value i put in(M34) : 10000 and it gives me CLASSE E which is wrong !

and this is the function i used :

=VLOOKUP(M34,J44:J48:K44:K48,2,TRUE)

Thank you very much
 
Upvote 0
Hello,

I am now trying to use Vlookup but for some reason it always gives me the same answer "CLASSE E" no matter the value i am changing in the cell.

this is the lookup table

J K

44 26254 CLASSE A
45 10983.5 CLASSE B
46 3841.5 CLASSE C
47 1939 CLASSE D
48 1106 CLASSE E

this is the value i put in(M34) : 10000 and it gives me CLASSE E which is wrong !

and this is the function i used :

=VLOOKUP(M34,J44:J48:K44:K48,2,TRUE)

Thank you very much
The table you are using as the lookup must be in ascending order.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

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