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?
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,335
Messages
5,595,573
Members
413,996
Latest member
mabelO

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