Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Traditional-Simplified Chinese conversion in Excel 2007(Eng versio | Excel Discussion (Misc queries) | |||
where is confirm conversion at open in Excel 2007? ('03 tools opt | Excel Discussion (Misc queries) | |||
Excel 2007 conversion - this file contains labels in formulas | Excel Discussion (Misc queries) | |||
Excel 2003 to 95 File format conversion | Excel Discussion (Misc queries) | |||
Excel 97 to 2003 conversion problem | Excel Discussion (Misc queries) |