#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel formula

Currently I have created a formula using Index & Match, to use a product code
and match it to a product code in an array of data and return the data in a
specific column. All is working well however there are some product codes I
am looking up that do not yet exist in the array of data, and therefore the
formual answer is #N/A. What can I add to the formula to stop this from
happening. I was thinking of an IF statment. The array of data is an excel
spreadsheet that is automatically updated from our accounting system.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Excel formula

Hi,

Try this

=if(iserror(your_formula),"",your_formula)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Baliey" wrote in message
...
Currently I have created a formula using Index & Match, to use a product
code
and match it to a product code in an array of data and return the data in
a
specific column. All is working well however there are some product codes
I
am looking up that do not yet exist in the array of data, and therefore
the
formual answer is #N/A. What can I add to the formula to stop this from
happening. I was thinking of an IF statment. The array of data is an excel
spreadsheet that is automatically updated from our accounting system.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excel formula

=IF(ISNA(formula,""),formula)

ISERROR will mask all errors and may cause problems.


Gord Dibben MS Excel MVP

On Mon, 5 Oct 2009 18:49:01 -0700, Baliey
wrote:

Currently I have created a formula using Index & Match, to use a product code
and match it to a product code in an array of data and return the data in a
specific column. All is working well however there are some product codes I
am looking up that do not yet exist in the array of data, and therefore the
formual answer is #N/A. What can I add to the formula to stop this from
happening. I was thinking of an IF statment. The array of data is an excel
spreadsheet that is automatically updated from our accounting system.


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
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel Formula Doesn't Execute (Shows formula-not the calcuation) Keys1970 Excel Discussion (Misc queries) 4 November 15th 06 02:12 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM


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