Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why do I get a #NA error when I do a VLOOKUP on a cell that contains a
formula? Is this because its trying do the lookup on the formula itself and not the data displayed in the cell due to the formula? =VLOOKUP(E2,PRODTAB,3,FALSE) Where (E2) contains a formula that processes information from another cell. I know every thing else is ok because when I type in the display formula result from (E2) into a (E3) and change the VLOOKUP to =VLOOKUP(E3,PRODTAB,3,FALSE) it works. Thanks Very Confused |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
My guess would be that your formula in E2 is returning a text value and your
lookup table (PRODTAB) contains numbers. Or vice versa. The number 1234 and the text string 1234 may look identical to you and me, but Excel treats them differently. See if this makes any difference: =VLOOKUP(VALUE(E2),PRODTAB,3,FALSE) If not, post back with more info on your formulas and data. HTH, Elkar "bactfarmer" wrote: Why do I get a #NA error when I do a VLOOKUP on a cell that contains a formula? Is this because its trying do the lookup on the formula itself and not the data displayed in the cell due to the formula? =VLOOKUP(E2,PRODTAB,3,FALSE) Where (E2) contains a formula that processes information from another cell. I know every thing else is ok because when I type in the display formula result from (E2) into a (E3) and change the VLOOKUP to =VLOOKUP(E3,PRODTAB,3,FALSE) it works. Thanks Very Confused |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Works great! Thanks Elkar. On Jan 30, 12:26 pm, Elkar wrote: My guess would be that your formula in E2 is returning a text value and your lookup table (PRODTAB) contains numbers. Or vice versa. The number 1234 and the text string 1234 may look identical to you and me, but Excel treats them differently. See if this makes any difference: =VLOOKUP(VALUE(E2),PRODTAB,3,FALSE) If not, post back with more info on your formulas and data. HTH, Elkar "bactfarmer" wrote: Why do I get a #NA error when I do a VLOOKUP on a cell that contains a formula? Is this because its trying do the lookup on the formula itself and not the data displayed in the cell due to the formula? =VLOOKUP(E2,PRODTAB,3,FALSE) Where (E2) contains a formula that processes information from another cell. I know every thing else is ok because when I type in the display formula result from (E2) into a (E3) and change the VLOOKUP to =VLOOKUP(E3,PRODTAB,3,FALSE) it works. Thanks Very Confused- Hide quoted text -- Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup error | Excel Discussion (Misc queries) | |||
Vlookup Function returning #N/A error for two entries | Excel Discussion (Misc queries) | |||
REF# error using VLOOKUP | Excel Worksheet Functions | |||
vlookup error - recognition of value | Excel Worksheet Functions | |||
vlookup weird error | Excel Worksheet Functions |