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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,731
Messages
6,126,535
Members
449,316
Latest member
sravya

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