![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
when the result of a formula is displayed in a cell, i want it to read "0"
not "#N/A" so that i can use it to link to other cells. how do i accomplish this? |
| Ads |
|
#2
|
|||
|
|||
|
One way:
=IF(ISNA(<your formula>),0,<your formula>) In article >, osubigdog > wrote: > when the result of a formula is displayed in a cell, i want it to read "0" > not "#N/A" so that i can use it to link to other cells. how do i accomplish > this? |
|
#3
|
|||
|
|||
|
Just for the record, in Excel 2007 you can use the new IFERROR function.
E.g., =IFERROR(your_formula, result_if_error) "JE McGimpsey" > wrote in message ... > One way: > > =IF(ISNA(<your formula>),0,<your formula>) > > In article >, > osubigdog > wrote: > >> when the result of a formula is displayed in a cell, i want it to read >> "0" >> not "#N/A" so that i can use it to link to other cells. how do i >> accomplish >> this? |
|
#4
|
|||
|
|||
|
And, if you'd like, it's easy to implement IFERROR() in previous
versions, though usually less efficiently: Public Function IfError(ByRef vTest As Variant, _ Optional ByRef vDefault _ As Variant = vbNullString) As Variant If IsError(vTest) Then IfError = vDefault Else IfError = vTest End If End Function In article >, "Chip Pearson" > wrote: > Just for the record, in Excel 2007 you can use the new IFERROR function. > E.g., > > =IFERROR(your_formula, result_if_error) > > > > "JE McGimpsey" > wrote in message > ... > > One way: > > > > =IF(ISNA(<your formula>),0,<your formula>) |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using an offset formula for the reference in a relative reference | Cuda | Excel Worksheet Functions | 6 | November 15th 06 05:12 PM |
| How do I display the result of one cell each time a change anothe. | Mike S | Excel Worksheet Functions | 1 | September 8th 06 08:17 AM |
| Help with this conditional IF statement | C-Dawg | Excel Discussion (Misc queries) | 3 | May 15th 06 06:01 PM |
| Cell Change Color - Need Help | alani | New Users to Excel | 3 | June 29th 05 03:50 PM |
| GET.CELL | Biff | Excel Worksheet Functions | 2 | November 24th 04 07:16 PM |