Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

VLOOKUP Conversion from Excel 2003 to Excel 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael D. Ober - 08 Nov 2007 04:38 GMT
I have a large table where the column A is also the lookup column.
Basically, I'm doing a moving average over column A.  In excel 2003, the
following works

=VLOOKUP(A264-3000,A:A,1)

In Excel 2007, I get #VALUE!.  How can I use column A as the lookup source
and the result column?

For those of you interested, 3000 represents mileage (oil change
increments).

Thanks,
Mike Ober.
TheHeatons - 08 Nov 2007 08:54 GMT
On Nov 8, 3:38 pm, "Michael D. Ober" <obermd.@.alum.mit.edu.nospam>
wrote:
> I have a large table where the column A is also the lookup column.
> Basically, I'm doing a moving average over column A.  In excel 2003, the
[quoted text clipped - 10 lines]
> Thanks,
> Mike Ober.

Hi,

i've just tried your formula with a smaller range and it worked fine.

With A2:A37 filled with numbers 1 thru 36 '=VLOOKUP(A15-6,A:A,1)'
worked fine... the only time it didnt work was if A15-6 was a negative
number in which case the #N/A error appeared

hth

David
Michael D. Ober - 22 Nov 2007 14:37 GMT
> On Nov 8, 3:38 pm, "Michael D. Ober" <obermd.@.alum.mit.edu.nospam>
> wrote:
[quoted text clipped - 25 lines]
>
> David

OK - there are a couple of subtle differences between Excel 2000, XP, 2003
and Excel 2007 in the VLOOKUP function.  First, David's comment about
negative numbers is correct, but that's not the reason that what was causing
the #VALUE error for higher mileages.  Prior to Excel 2007, if row 1 was a
non-numeric header row, Excel did the expected thing and ignored it.  In
Excel 2007, when you have a header row in row one, you must replace the A:A
with A$2:A$65536 or you will get the #VALUE error.  I suspect that MS would
tell us that prior to Excel 2007, the VLOOKUP function was "broken", but it
sure made it simpler to use an entire column to as a lookup table.

Mike.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.