#1   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Help with Formula...

I can not figure this out.
I have a cell with the following Formula :

=(YEAR(B18)-YEAR(B$17))*12+44

In the Forumla evaluation it evaluates to
(2007-2007)*12+144 -- 0*12+144 -- 0 + 144

In my cell I get the result of 0. grrrrrrrrrrr Been working with this
for hours and can not figure it out. here is the formula for B18 B17

b18:

=IF(A18=" "," ",IF('Loan Summary'!$B$7,DATE(YEAR('Amortization
Schedule'!B17),MONTH('Amortization Schedule'!B17),DAY('Amortization
Schedule'!B17)+14),DATE(YEAR('Amortization Schedule'!B17),MONTH('Amortization
Schedule'!B17)+1,DAY('Amortization Schedule'!B17))))

Current value july 03 2007

B17

=FirstPmtdate

Current value june 03 2007


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default Help with Formula...

What format are you using?

I assume you want a result of 144 (and that your first formula is a typo -- '44'
s/b '144').

It's possible to have 0 displayed if you have the wrong format.

Try formatting the cell as General.

--
Regards,
Fred


"Rob" wrote in message
...
I can not figure this out.
I have a cell with the following Formula :

=(YEAR(B18)-YEAR(B$17))*12+44

In the Forumla evaluation it evaluates to
(2007-2007)*12+144 -- 0*12+144 -- 0 + 144

In my cell I get the result of 0. grrrrrrrrrrr Been working with this
for hours and can not figure it out. here is the formula for B18 B17

b18:

=IF(A18=" "," ",IF('Loan Summary'!$B$7,DATE(YEAR('Amortization
Schedule'!B17),MONTH('Amortization Schedule'!B17),DAY('Amortization
Schedule'!B17)+14),DATE(YEAR('Amortization Schedule'!B17),MONTH('Amortization
Schedule'!B17)+1,DAY('Amortization Schedule'!B17))))

Current value july 03 2007

B17

=FirstPmtdate

Current value june 03 2007




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



All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"