Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default vlookup returning zeros

I have a vlookup formula that I copied down a column. It works fine on 95%
of the values, but for some reason, right in the middle of the column it is
giving me zeros for six of the cells. I checked to make certain the lookup
values were identical in each sheet and they are. The lookup values are
simple four digit numbers. I have retyped the numbers as both the lookup
value and the array and I still get zeros. Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default vlookup returning zeros

Did you ensure that the vlookup's table array is fixed (made absolute with $
signs), before you copied down?

Eg the "Sheet2!$A$2:$B$5000" bit in:
=VLOOKUP(A2,Sheet2!$A$2:$B$5000,2,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Cobaum" wrote:
I have a vlookup formula that I copied down a column. It works fine on 95%
of the values, but for some reason, right in the middle of the column it is
giving me zeros for six of the cells. I checked to make certain the lookup
values were identical in each sheet and they are. The lookup values are
simple four digit numbers. I have retyped the numbers as both the lookup
value and the array and I still get zeros. Any help would be appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default vlookup returning zeros

Yes, it is absolute.

"Max" wrote:

Did you ensure that the vlookup's table array is fixed (made absolute with $
signs), before you copied down?

Eg the "Sheet2!$A$2:$B$5000" bit in:
=VLOOKUP(A2,Sheet2!$A$2:$B$5000,2,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Cobaum" wrote:
I have a vlookup formula that I copied down a column. It works fine on 95%
of the values, but for some reason, right in the middle of the column it is
giving me zeros for six of the cells. I checked to make certain the lookup
values were identical in each sheet and they are. The lookup values are
simple four digit numbers. I have retyped the numbers as both the lookup
value and the array and I still get zeros. Any help would be appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default vlookup returning zeros

In your other similar posting in .misc,
but where you indicated your formula:
=VLOOKUP(A6,'[2008 Projection.xls]08 PROJ'!A$9:C$191,3)


My thoughts we

As-is, you need to ensure that the values in the table array's lookup col
are sorted in ascending order

Alternatively, amend it for exact matching, viz.:
=VLOOKUP(A6,'[2008 Projection.xls]08 PROJ'!A$9:C$191,3,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Cobaum" wrote in message
...
Yes, it is absolute.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default vlookup returning zeros

Max, I could kiss you on the mouth. AWESOME. If ever in Denver, I'll buy
you a beer!

"Max" wrote:

In your other similar posting in .misc,
but where you indicated your formula:
=VLOOKUP(A6,'[2008 Projection.xls]08 PROJ'!A$9:C$191,3)


My thoughts we

As-is, you need to ensure that the values in the table array's lookup col
are sorted in ascending order

Alternatively, amend it for exact matching, viz.:
=VLOOKUP(A6,'[2008 Projection.xls]08 PROJ'!A$9:C$191,3,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Cobaum" wrote in message
...
Yes, it is absolute.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default vlookup returning zeros

Welcome. A brotherly hug will do, but I'll take the beer.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Cobaum" wrote in message
...
Max, I could kiss you on the mouth. AWESOME. If ever in Denver, I'll buy
you a beer!



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 always returning the same value! Jennifer Cali Excel Discussion (Misc queries) 10 April 23rd 23 09:08 AM
Vlookup returning #n/a TRYIN Excel Worksheet Functions 2 February 8th 08 07:56 PM
Vlookup blanks = zeros Marilyn Excel Discussion (Misc queries) 6 March 18th 07 01:21 AM
SubTotal for Sum function returning zeros ForestFeeder Excel Worksheet Functions 2 February 14th 07 04:56 PM
vlookup returning sum Rose Excel Worksheet Functions 1 July 14th 05 10:47 PM


All times are GMT +1. The time now is 02:15 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"