Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

remove #NUM! error

Posted on 2013-11-14
3
Medium Priority
?
1,111 Views
Last Modified: 2013-11-14
Hi, i have a formula

=PERCENTILE.EXC(IF(ISNUMBER(MATCH(InputRange,{1,3,4,5,6},0)),IF(InputRange<>"",CashFormula)),'S7 - Product Risk Scenario'!D28)


If there is no data there it creates a #NUM! error and makes the data that has returned difficult to read, can anyone add to the formula to return zero when no data is present in the ranges

Many thanks
Seamus.
0
Comment
Question by:Seamus2626
3 Comments
 
LVL 34

Accepted Solution

by:
Rob Henson earned 1000 total points
ID: 39647621
Wrap it all in an IFERROR statement.

=IFERROR(YourFormula,0)

Thanks
Rob H
0
 
LVL 53

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 1000 total points
ID: 39647623
Hi
In XL2007 and further

=IFERROR(PERCENTILE.EXC(IF(ISNUMBER(MATCH(InputRange,{1,3,4,5,6},0)),IF(InputRange<>"",CashFormula)),'S7 - Product Risk Scenario'!D28),0)

Regards
0
 

Author Closing Comment

by:Seamus2626
ID: 39647629
Perfect guys,

Many thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question