Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SOLVED: VLOOKUP Conversion from Excel 2003 to Excel 2007

"TheHeatons" wrote in message
ps.com...
On Nov 8, 3:38 pm, "Michael D. Ober"
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
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.


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


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.


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
Traditional-Simplified Chinese conversion in Excel 2007(Eng versio Joe Excel Discussion (Misc queries) 2 October 5th 07 04:53 AM
where is confirm conversion at open in Excel 2007? ('03 tools opt sandibeach_2000 Excel Discussion (Misc queries) 0 March 20th 07 02:30 PM
Excel 2007 conversion - this file contains labels in formulas Hunter Excel Discussion (Misc queries) 6 March 20th 07 01:00 PM
Excel 2003 to 95 File format conversion Judith C Excel Discussion (Misc queries) 3 July 17th 05 04:24 PM
Excel 97 to 2003 conversion problem PaulC Excel Discussion (Misc queries) 8 June 18th 05 12:12 PM


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