Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bill R
 
Posts: n/a
Default Problem with formula in Excel

My form calculates a payment after adding all of the fields that affect the
total financed amount. Two of the fields that are added to the total financed
amount calculates the credit life and disability premium respectively. If the
credit life and/or the disability Insurance is not selected they return a
blank field.
As long as both Life and disability are both selected the payment
calculates fine. But if either one is not selected and therefore "blank"
then
the payment = "blank".
See the formula below.
How can I correct this problem? Thanks.

=IF(ISERROR(PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0)), "",-PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0))

CE26 and CE29 contain the formulas that are causing the problem.
Thanks.


  #2   Report Post  
Max
 
Posts: n/a
Default

.. CE26 and CE29 contain the formulas
that are causing the problem ..


One guess is that the formulas in CE26 and CE29 are returning null strings
(these appear like "blanks") which causes the problem ..

One play to try is to replace:

CE26 with SUM(CE26)
CE29 with SUM(CE29)

viz. try instead:

=IF(ISERROR(PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+SUM(CE26)+SUM(C E29),,
0)),"",-PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+SUM(CE26)+SUM(C E29),,0))

[ It looks admittedly superfluous, but using SUM(CE26) and SUM(CE29) will
evaluate any null strings returned in the cells to zeros ]

Alternatively, we could try amending the error trap part of the formulas in
CE26 and CE29 to return zeros instead of "" (blanks), e.g.:

=IF(ISERROR( Formula involving CE26 or CE29 ),0,( Formula involving CE26 or
CE29 ))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Bill R" wrote in message
...
My form calculates a payment after adding all of the fields that affect

the
total financed amount. Two of the fields that are added to the total

financed
amount calculates the credit life and disability premium respectively. If

the
credit life and/or the disability Insurance is not selected they return a
blank field.
As long as both Life and disability are both selected the payment
calculates fine. But if either one is not selected and therefore "blank"
then
the payment = "blank".
See the formula below.
How can I correct this problem? Thanks.


=IF(ISERROR(PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0)), "",-PM
T(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0))

CE26 and CE29 contain the formulas that are causing the problem.
Thanks.




  #3   Report Post  
Bill R
 
Posts: n/a
Default

Sounds like it will work. I'll try it. Thanks!

"Max" wrote:

.. CE26 and CE29 contain the formulas
that are causing the problem ..


One guess is that the formulas in CE26 and CE29 are returning null strings
(these appear like "blanks") which causes the problem ..

One play to try is to replace:

CE26 with SUM(CE26)
CE29 with SUM(CE29)

viz. try instead:

=IF(ISERROR(PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+SUM(CE26)+SUM(C E29),,
0)),"",-PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+SUM(CE26)+SUM(C E29),,0))

[ It looks admittedly superfluous, but using SUM(CE26) and SUM(CE29) will
evaluate any null strings returned in the cells to zeros ]

Alternatively, we could try amending the error trap part of the formulas in
CE26 and CE29 to return zeros instead of "" (blanks), e.g.:

=IF(ISERROR( Formula involving CE26 or CE29 ),0,( Formula involving CE26 or
CE29 ))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Bill R" wrote in message
...
My form calculates a payment after adding all of the fields that affect

the
total financed amount. Two of the fields that are added to the total

financed
amount calculates the credit life and disability premium respectively. If

the
credit life and/or the disability Insurance is not selected they return a
blank field.
As long as both Life and disability are both selected the payment
calculates fine. But if either one is not selected and therefore "blank"
then
the payment = "blank".
See the formula below.
How can I correct this problem? Thanks.


=IF(ISERROR(PMT(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0)), "",-PM
T(AX7/12,BA6,AX4+CE22*CB8+CD14+CC19+CE22+CE26+CE29,,0))

CE26 and CE29 contain the formulas that are causing the problem.
Thanks.





  #4   Report Post  
Max
 
Posts: n/a
Default

Hope it works for you, Bill !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Bill R" wrote in message
...
Sounds like it will work. I'll try it. Thanks!



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
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
In excel the formula bar behaves differently on different machines vijay Excel Discussion (Misc queries) 0 May 20th 05 06:27 AM
Excel 2003 Slowness problem in Windows XP Elton Seng Yan Thung Excel Discussion (Misc queries) 2 May 18th 05 04:55 AM
How do I view the actual numeric value of a formula in Excel 2002. Excel Function Help Excel Worksheet Functions 0 January 13th 05 10:07 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 07:25 AM.

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"