how to use "INT" function....????

amkumar

New Member
Joined
Apr 5, 2016
Messages
45
Hello,

sometime i use vlookup formula in excel but not getting correct result, because the lookup value is not in correct format.
so how can i use "INT" function with vlookup.

lookup value is numbers like- 16,18,20
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hello,

sometime i use vlookup formula in excel but not getting correct result, because the lookup value is not in correct format.
so how can i use "INT" function with vlookup.

lookup value is numbers like- 16,18,20

What does 16,18,20 mean if not 16 then 28 then 20?

16 is aready an integer, that is, INT(16) = 16.
 
Upvote 0
16,18,20 is lookup value
like in below table....

[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]lookup value [/TD]
[TD]result[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

i want to use "INT" formula with vlookup function.
 
Upvote 0
16,18,20 is lookup value
like in below table....

[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]lookup value[/TD]
[TD]result[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

i want to use "INT" formula with vlookup function.

You don't apply INT to a number which is already an INTeger. But what is your VLOOKUP formula?
 
Upvote 0
i under that i don't apply INT to a number which is already an integer, but suppose if 16 is not in number format then i can use INT function to convert it into number format.
my main query is can i use INT & VLOOKUP (both) functions in a single cell, when my lookup value is not in number format.
 
Upvote 0
i under that i don't apply INT to a number which is already an integer, but suppose if 16 is not in number format then i can use INT function to convert it into number format.
my main query is can i use INT & VLOOKUP (both) functions in a single cell, when my lookup value is not in number format.

INT doesn't convert from text number to integer. Why don't you poste your VLOOKUP formula without INT?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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