ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Display a cell as 0 if cell it is copying has no value (https://www.excelbanter.com/excel-discussion-misc-queries/170489-display-cell-0-if-cell-copying-has-no-value.html)

Jason[_10_]

Display a cell as 0 if cell it is copying has no value
 
I'm making one cell equal another cell is is part of a formula (an
amortization schedule to be exact). I'm wanting my first cell to equal
the cell on the amortization schedule that shows the payment. If I
don't have any figures plugged into the amortization schedule, the
payment shows " #DIV/0! ". Is there a way of making it just display a
0 instead of #DIV/0! ?

I have 3 schedules and I'm trying to add all of the payments to one
figure. If I'm only using one amortization, the other 2 show #DIV/0!
and through my addition off.

Thanks for the help!

Jason[_10_]

Display a cell as 0 if cell it is copying has no value
 
here is the formula

=PMT(D6,D7,-D4)


Rick Rothstein \(MVP - VB\)

Display a cell as 0 if cell it is copying has no value
 
Here is one way...

=IF(ISERROR(PMT(D6,D7,-D4)),0,PMT(D6,D7,-D4))

Rick


"Jason" wrote in message
...
here is the formula

=PMT(D6,D7,-D4)



Jason[_10_]

Display a cell as 0 if cell it is copying has no value
 
Rick,
That worked... Thanks

Jason



All times are GMT +1. The time now is 12:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com