Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I have Excel 2000. I am having trouble with a lookup returning the wrong value (either VLookup or Lookup). The first column is the output of an IF function where desired outcome results in a specific text or number (I've tried both) and the next column is a text value I wish output. The Lookup value is one unique specific text or number in the first column. The table also contains calculations based on a separate variable which determine the result of the IF statement. Depending on the variable, the lookup either funtions correctly or it returns the last row's value (even when that is incorrect). I need suggestions as to why the Lookup doesn't always work correctly. Thanks Motorjobs -- motorjobs ------------------------------------------------------------------------ motorjobs's Profile: http://www.excelforum.com/member.php...o&userid=35645 View this thread: http://www.excelforum.com/showthread...hreadid=554311 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Nel post
*motorjobs* ha scritto: I have Excel 2000. I am having trouble with a lookup returning the wrong value (either VLookup or Lookup). The first column is the output of an IF function where desired outcome results in a specific text or number (I've tried both) and the next column is a text value I wish output. The Lookup value is one unique specific text or number in the first column. The table also contains calculations based on a separate variable which determine the result of the IF statement. Depending on the variable, the lookup either funtions correctly or it returns the last row's value (even when that is incorrect). I need suggestions as to why the Lookup doesn't always work correctly. Thanks Motorjobs If you could post your formula, maybe we can check what is wrong... -- (I'm not sure of names of menues, option and commands, because translating from the Italian version of Excel...) Hope I helped you. Ciao Franz Verga from Italy |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Formulas: =VLOOKUP(T1,T4:Z29,3,5) =LOOKUP(T1,T4:T29,V4:V29) T1=5 Result us "Year 27" (should be Year 19) Table 0 $2,480 Year 2 0 $4,718 Year 3 0 $6,704 Year 4 0 $8,426 Year 5 0 $9,871 Year 6 0 $11,028 Year 7 0 $11,884 Year 8 0 $12,425 Year 9 0 $12,637 Year 10 0 $12,506 Year 11 0 $12,014 Year 12 0 $11,148 Year 13 0 $9,889 Year 14 0 $8,220 Year 15 0 $6,122 Year 16 0 $3,577 Year 17 0 $563 Year 18 5 -$2,939 Year 19 0 -$6,953 Year 20 0 -$11,500 Year 21 0 -$16,605 Year 22 0 -$22,294 Year 23 0 -$28,592 Year 24 0 -$35,527 Year 25 0 -$43,127 Year 26 0 -$51,422 Year 27 Thanks, Motorjobs -- motorjobs ------------------------------------------------------------------------ motorjobs's Profile: http://www.excelforum.com/member.php...o&userid=35645 View this thread: http://www.excelforum.com/showthread...hreadid=554311 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Nel post
*motorjobs* ha scritto: Formulas: =VLOOKUP(T1,T4:Z29,3,5) =LOOKUP(T1,T4:T29,V4:V29) T1=5 Result us "Year 27" (should be Year 19) [cut] Try this: =VLOOKUP(T1,T4:Z29,3,FALSE) (I'm not sure of names of menues, option and commands, because translating from the Italian version of Excel...) Hope I helped you. Ciao Franz Verga from Italy |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Thank you Fanz, Your suggestion worked after another correction I had overlooked as well. Ciao, Motorjob:) -- motorjobs ------------------------------------------------------------------------ motorjobs's Profile: http://www.excelforum.com/member.php...o&userid=35645 View this thread: http://www.excelforum.com/showthread...hreadid=554311 |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Post a example of data please -- VBA Noob ------------------------------------------------------------------------ VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833 View this thread: http://www.excelforum.com/showthread...hreadid=554311 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I isolate a lookup vectors but not values from autofill? | Excel Worksheet Functions | |||
Excel 2002 Lookup formula returning wrong results? | Excel Worksheet Functions | |||
Lookup function help | Excel Worksheet Functions | |||
Lookup Function help | Excel Discussion (Misc queries) | |||
Lookup function w/Text and Year | Excel Worksheet Functions |