Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default How can I use an IFISNUMBER formula in conjunction with Vlookup?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How can I use an IFISNUMBER formula in conjunction with Vlookup?

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default How can I use an IFISNUMBER formula in conjunction with Vlooku

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default How can I use an IFISNUMBER formula in conjunction with Vlooku

=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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 866
Default How can I use an IFISNUMBER formula in conjunction with Vlooku

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default How can I use an IFISNUMBER formula in conjunction with Vlooku

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How can I use an IFISNUMBER formula in conjunction with Vlooku

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
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
cell color in conjunction with upcoming date Will Ruckel Excel Discussion (Misc queries) 2 July 29th 07 08:20 PM
What does the "-{1,7}" do in conjunction with SUM David Excel Worksheet Functions 3 April 5th 07 07:34 PM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM
how to move lines in conjunction with graphs Shoque Charts and Charting in Excel 4 July 25th 06 02:07 PM
Using IF & AND command in conjunction KDD Excel Discussion (Misc queries) 7 August 25th 05 04:11 PM


All times are GMT +1. The time now is 02:15 PM.

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"