#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Vlookup

When using vlookup function on a long list of data, how do I replace a #N/A
result with the number 0?

I am using the vlookup function on a cumulative list of data that is adding
up annual results. Each year new names are added to the list and some do not
come back (i.e. participate in 2006 but not in 2007). But have a cumulative
list contains all participants. I want to have a 0 when someone does not a
result for a year, not a #N/A - I can't sum up #N/A's.

Please help!
--
Tixpack
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Vlookup

You can ignore #N/A in a sum formula like this:

=SUMIF(A:A,"<1E100")

However, it's probably better to get rid of the #N/A altogether:

=IF(ISNA(VLOOKUP(..........)),0,VLOOKUP(.......... ))

--
Biff
Microsoft Excel MVP


"Tixpack" wrote in message
...
When using vlookup function on a long list of data, how do I replace a
#N/A
result with the number 0?

I am using the vlookup function on a cumulative list of data that is
adding
up annual results. Each year new names are added to the list and some do
not
come back (i.e. participate in 2006 but not in 2007). But have a
cumulative
list contains all participants. I want to have a 0 when someone does not
a
result for a year, not a #N/A - I can't sum up #N/A's.

Please help!
--
Tixpack



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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"