Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If cel C1 is A1-B1, how can I get C1 to show 0 if one of A1 or B1 is #N/A
instead of C1 ending up also #N/A? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Use an IF & OR with ISNA() function; =IF(OR(ISNA(A1),ISNA(B1)),0,A1-B1) Regards, Chris. -- Chris Marlow MCSD.NET, Microsoft Office XP Master "widman" wrote: If cel C1 is A1-B1, how can I get C1 to show 0 if one of A1 or B1 is #N/A instead of C1 ending up also #N/A? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=if(iserror(a1-b1),0,a1-b1)
widman wrote: If cel C1 is A1-B1, how can I get C1 to show 0 if one of A1 or B1 is #N/A instead of C1 ending up also #N/A? -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try something like this:
=IF(ISNA(A1-B1),0,A1-B1) Does that help? *********** Regards, Ron XL2002, WinXP-Pro "widman" wrote: If cel C1 is A1-B1, how can I get C1 to show 0 if one of A1 or B1 is #N/A instead of C1 ending up also #N/A? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Show week number in current month | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Line Chart - show percent and value? | Charts and Charting in Excel | |||
Show values from other sheet | Excel Worksheet Functions | |||
UDF and Calculation tree | Links and Linking in Excel |