Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kYle
 
Posts: n/a
Default How do I get rid of N/A in cells while using VLOOKUP in Excel

I have set up a page that will extract information from another workbook
using vlookup, the information also has a cost assigned to it but I can't get
a running total of the items because the cells I'm not using have #N/A in
them. Is there any way to clear the cells of #N/A but not erase the formula
so that as I enter information I can see what the running cost is at the
bottom?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default How do I get rid of N/A in cells while using VLOOKUP in Excel

=IF(ISNA(lookup_formula),"",lookup_formula)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"kYle" wrote in message
...
I have set up a page that will extract information from another workbook
using vlookup, the information also has a cost assigned to it but I can't

get
a running total of the items because the cells I'm not using have #N/A in
them. Is there any way to clear the cells of #N/A but not erase the

formula
so that as I enter information I can see what the running cost is at the
bottom?



  #3   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default How do I get rid of N/A in cells while using VLOOKUP in Excel

Other ways:

=SUMIF(A1:A10,"<#N/A")

=SUM(IF(ISNUMBER(A1:A10),A1:A10))
=SUM(IF(NOT(ISNA(A1:A10)),A1:A10))
these last 2 are array formulae...enter using CTRL+SHIFT+ENTER

HTH
JG

"Bob Phillips" wrote:

=IF(ISNA(lookup_formula),"",lookup_formula)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"kYle" wrote in message
...
I have set up a page that will extract information from another workbook
using vlookup, the information also has a cost assigned to it but I can't

get
a running total of the items because the cells I'm not using have #N/A in
them. Is there any way to clear the cells of #N/A but not erase the

formula
so that as I enter information I can see what the running cost is at the
bottom?




  #4   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default How do I get rid of N/A in cells while using VLOOKUP in Excel


Kyle,

IF(ISNA(VLOOKUP(lookup_value,table_array,col_index _num)),0,VLOOKUP(lookup_value,table_array,col_inde x_num))

This is to eliminate the #N/A error only and replace it with 0. For
other types of errors, replace the ISNA with ISERROR.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=506418

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How do I get rid of N/A in cells while using VLOOKUP in Excel

You can change your formula:

=if(iserror(vlookup(...)),"Missing or 0??",vlookup(...))



kYle wrote:

I have set up a page that will extract information from another workbook
using vlookup, the information also has a cost assigned to it but I can't get
a running total of the items because the cells I'm not using have #N/A in
them. Is there any way to clear the cells of #N/A but not erase the formula
so that as I enter information I can see what the running cost is at the
bottom?


--

Dave Peterson


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
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Merging cells in Excel 2003 Bob Excel Discussion (Misc queries) 1 October 19th 05 07:10 PM
I want Excel to allow cells with formulas and unrelated text blueboy Excel Discussion (Misc queries) 9 March 4th 05 12:22 AM
How to make empty cells as zero in excel add-ins for SQL Server an Microlong Excel Worksheet Functions 0 January 12th 05 06:31 AM
Adding contents of cells by clicking in Excel 2002 Kevin Gordon Excel Discussion (Misc queries) 7 January 11th 05 04:49 PM


All times are GMT +1. The time now is 04:22 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"