Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Post some more details of what you want to achieve.
In the meantime, here's an example: =IF(ISNUMBER(A1),VLOOKUP(A1,table,2,0),"") This will perform the lookup only if A1 is a number, otherwise it will return a blank. Hope this helps. Pete On Jan 2, 8:00*pm, Dan wrote: |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Pete,
I am trying to avoid a return of #NA. I am using the V-Look up function to pull a specific number from another file. When the number I am looknig for does not exist, the V-Look Up returns a #NA. Because of this I cannot sum the data for a grand total. I want to us a IFISNUMBER formula to return a 0 if the V-look up does not return a value. Could you help me with this? Dan "Pete_UK" wrote: Post some more details of what you want to achieve. In the meantime, here's an example: =IF(ISNUMBER(A1),VLOOKUP(A1,table,2,0),"") This will perform the lookup only if A1 is a number, otherwise it will return a blank. Hope this helps. Pete On Jan 2, 8:00 pm, Dan wrote: |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISNUMBER(VLOOKUP(A1,table,2,0),VLOOKUP(A1,tabl e,2,0),0)
or =IF(ISERROR(VLOOKUP(A1,table,2,0),0,VLOOKUP(A1,tab le,2,0)) |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This formula keeps giving me an error
=IF(ISNUMBER(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),0) "Spiky" wrote: =IF(ISNUMBER(VLOOKUP(A1,table,2,0),VLOOKUP(A1,tabl e,2,0),0) or =IF(ISERROR(VLOOKUP(A1,table,2,0),0,VLOOKUP(A1,tab le,2,0)) |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Try =IF(ISNA(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE)),VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),0) In 2007 =IFERROR(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),0) -- If this helps, please click the Yes button Cheers, Shane Devenshire "Dan" wrote: Pete, I am trying to avoid a return of #NA. I am using the V-Look up function to pull a specific number from another file. When the number I am looknig for does not exist, the V-Look Up returns a #NA. Because of this I cannot sum the data for a grand total. I want to us a IFISNUMBER formula to return a 0 if the V-look up does not return a value. Could you help me with this? Dan "Pete_UK" wrote: Post some more details of what you want to achieve. In the meantime, here's an example: =IF(ISNUMBER(A1),VLOOKUP(A1,table,2,0),"") This will perform the lookup only if A1 is a number, otherwise it will return a blank. Hope this helps. Pete On Jan 2, 8:00 pm, Dan wrote: |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You've missed a bracket - try it this way:
=IF(ISNUMBER(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt] 2008-12 (2)'!$A$2:$G$234,6,FALSE)),VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),0) Personally, I prefer to use ISNA, like this: =IF(ISNA(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE)),0,VLOOKUP(A9,'F:\Dan\20 08 Office Supplies \[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE)) Hope this helps. Pete On Jan 2, 9:12*pm, Dan wrote: This formula keeps giving me an error =IF(ISNUMBER(VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),VLOOKUP(A9,'F:\Dan\2008 Office Supplies\[2008-12.txt]2008-12 (2)'!$A$2:$G$234,6,FALSE),0) "Spiky" wrote: =IF(ISNUMBER(VLOOKUP(A1,table,2,0),VLOOKUP(A1,tabl e,2,0),0) or =IF(ISERROR(VLOOKUP(A1,table,2,0),0,VLOOKUP(A1,tab le,2,0))- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cell color in conjunction with upcoming date | Excel Discussion (Misc queries) | |||
What does the "-{1,7}" do in conjunction with SUM | Excel Worksheet Functions | |||
Excel 2002 VLOOKUP formula or other formula | Excel Discussion (Misc queries) | |||
how to move lines in conjunction with graphs | Charts and Charting in Excel | |||
Using IF & AND command in conjunction | Excel Discussion (Misc queries) |