#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default VLOOKUP HELP

I just took over a spreadsheet from a coworker and i noticed they are
trying to use a vlookup and it is returning the wrong value. I have
two values on a spreadsheet for 101.1% and 101.0% but when i do the
vlookup i get different numbers. Any help would be much appreciated

For 101.1% it will return the value of $5 which is correct.

For 101% it returns $0 which is incorrect as it should return back $5
too.


Here is the formula I am using
=VLOOKUP(101%,ColumnA,3,TRUE)

Table A
Column A Column B Column C
100% 100.99% $0
101% 101.99% $5
102% 102.99% $10
103% 103.99% $15
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default VLOOKUP HELP

I would suspect that the value of 101% is slightly lower - it might be
100.999999999999%. As such, it will match with 100% rather than 101%
in your table. Or it might be that the 101% in your table is actually
slightly higher - 101.000000001%.

Check these two out by increasing the number of decimal places.

Hope this helps.

Pete

On Jan 12, 1:27*pm, KevinM wrote:
I just took over a spreadsheet from a coworker and i noticed they are
trying to use a vlookup and it is returning the wrong value. *I have
two values on a spreadsheet for 101.1% and 101.0% but when i do the
vlookup i get different numbers. *Any help would be much appreciated

For 101.1% it will return the value of $5 which is correct.

For 101% it returns $0 which is incorrect as it should return back $5
too.

Here is the formula I am using
=VLOOKUP(101%,ColumnA,3,TRUE)

Table A
Column A * * * *Column B * * * * * *Column C
100% * * * * * * * 100.99% * * * * * * * * * $0
101% * * * * * * * 101.99% * * * * * * * * * $5
102% * * * * * * * 102.99% * * * * * * * * * $10
103% * * * * * * * 103.99% * * * * * * * * * $15


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default VLOOKUP HELP

Hi,
try
Supposing the value you want to Vlookup is in cell E1 enter the formula as
follow

=+VLOOKUP(E1,A2:C5,3,TRUE)

"KevinM" wrote:

I just took over a spreadsheet from a coworker and i noticed they are
trying to use a vlookup and it is returning the wrong value. I have
two values on a spreadsheet for 101.1% and 101.0% but when i do the
vlookup i get different numbers. Any help would be much appreciated

For 101.1% it will return the value of $5 which is correct.

For 101% it returns $0 which is incorrect as it should return back $5
too.


Here is the formula I am using
=VLOOKUP(101%,ColumnA,3,TRUE)

Table A
Column A Column B Column C
100% 100.99% $0
101% 101.99% $5
102% 102.99% $10
103% 103.99% $15

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default VLOOKUP HELP

Format ColumnA with many decimals and see if it's not actually slightly
smaller than 101%
Do you actually use the formula as shown or do you refer to a cell
containing the 101%?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"KevinM" wrote in message
...
I just took over a spreadsheet from a coworker and i noticed they are
trying to use a vlookup and it is returning the wrong value. I have
two values on a spreadsheet for 101.1% and 101.0% but when i do the
vlookup i get different numbers. Any help would be much appreciated

For 101.1% it will return the value of $5 which is correct.

For 101% it returns $0 which is incorrect as it should return back $5
too.


Here is the formula I am using
=VLOOKUP(101%,ColumnA,3,TRUE)

Table A
Column A Column B Column C
100% 100.99% $0
101% 101.99% $5
102% 102.99% $10
103% 103.99% $15


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default VLOOKUP HELP

try this
=VLOOKUP(101%,ColumnA,3,FALSE)
--
Thanks
Suleman Peerzade


"KevinM" wrote:

I just took over a spreadsheet from a coworker and i noticed they are
trying to use a vlookup and it is returning the wrong value. I have
two values on a spreadsheet for 101.1% and 101.0% but when i do the
vlookup i get different numbers. Any help would be much appreciated

For 101.1% it will return the value of $5 which is correct.

For 101% it returns $0 which is incorrect as it should return back $5
too.


Here is the formula I am using
=VLOOKUP(101%,ColumnA,3,TRUE)

Table A
Column A Column B Column C
100% 100.99% $0
101% 101.99% $5
102% 102.99% $10
103% 103.99% $15



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default VLOOKUP HELP

I refer back to a cell that contains the percentage and it can be in a
range 100% - 100.99% which is why i am using true and not false
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default VLOOKUP HELP

I just expanded my percentage and noticed it was 100.97% and not
101%. Sorry for not looking before, but that for all the help/
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default VLOOKUP HELP

Then it's prpbably a rounding issue. As advised, increase the number of
decimals to find the error or round both your table and the search argument

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"KevinM" wrote in message
...
I refer back to a cell that contains the percentage and it can be in a
range 100% - 100.99% which is why i am using true and not false


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"