Vlookup results in lost zero after decimal point

taxcomp308

New Member
Joined
Sep 14, 2009
Messages
1
I found this problem while auditing some tax rates. It seems the problem has occurred when matching a county&tax ID in destination worksheet to a county&taxID (ie Clinton306) in a source workseet, using Vlookup to bring in the tax rate for that ID. The tax rate is a number, such as 1.26, 4.089, 2.37.

It seems that when the tax rate has a zero after the decimal, like 4.089, Vlookup has been dropping the zero, bringing in 4.89 instead of 4.089!

This looks to be a real problem. I am using Excel 2007, but the spreadsheet has to be saved in xls format for importing to another software. The Vlookups are not complicated. These are Not leading zero zipcodes or numbers. They are usually single digits, with 2-5 numbers after the decimal.

Any ideas? Cell format as number, text or general maybe?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

rallcorn

Well-known Member
Joined
Nov 11, 2008
Messages
1,027
try changing the number format of the cells in which you have your formula
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,671
Messages
5,838,691
Members
430,564
Latest member
Raeyven

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
Top