#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Lookup and #N/A

I am trying to create an inventory list that is blank unless someone enters
in an item number which would then use Vlookup to fill in all of the
pertinent information such as description, price, unit of measurement,
etc....it all works great until I try to sum it all up at the end to get a
total dollar amount and the notorious #N/A screws up my SUM even if there is
only one #N/A left unchanged.

Is there a way for the SUM to ignore the #N/A? Maybe an IF.THEN statement
in the row subtotal? Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lookup and #N/A

try the following:
=if(iserror(vlookup(...))," ",vlookup(...))

this will replace missing values where you are currently getting #N/A and
your sum will work

"Russell Johnson" wrote:

I am trying to create an inventory list that is blank unless someone enters
in an item number which would then use Vlookup to fill in all of the
pertinent information such as description, price, unit of measurement,
etc....it all works great until I try to sum it all up at the end to get a
total dollar amount and the notorious #N/A screws up my SUM even if there is
only one #N/A left unchanged.

Is there a way for the SUM to ignore the #N/A? Maybe an IF.THEN statement
in the row subtotal? Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 634
Default Lookup and #N/A

But will also trap errors other than #NA which may suppress errors you need
to know about. Usually safer to specifically trap for just #NA using

=IF(ISNA(YOUR_FORMULA),0,YOUR_FORMULA)

Regards
Ken.....................


"kiersten" wrote in message
...
try the following:
=if(iserror(vlookup(...))," ",vlookup(...))

this will replace missing values where you are currently getting #N/A and
your sum will work

"Russell Johnson" wrote:

I am trying to create an inventory list that is blank unless someone
enters
in an item number which would then use Vlookup to fill in all of the
pertinent information such as description, price, unit of measurement,
etc....it all works great until I try to sum it all up at the end to get
a
total dollar amount and the notorious #N/A screws up my SUM even if there
is
only one #N/A left unchanged.

Is there a way for the SUM to ignore the #N/A? Maybe an IF.THEN
statement
in the row subtotal? Any suggestions?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Lookup and #N/A

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


"Russell Johnson" wrote:

I am trying to create an inventory list that is blank unless someone enters
in an item number which would then use Vlookup to fill in all of the
pertinent information such as description, price, unit of measurement,
etc....it all works great until I try to sum it all up at the end to get a
total dollar amount and the notorious #N/A screws up my SUM even if there is
only one #N/A left unchanged.

Is there a way for the SUM to ignore the #N/A? Maybe an IF.THEN statement
in the row subtotal? Any suggestions?

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
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 05:27 AM.

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"