#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default What am I missing?

Hi,

This formula does everything correct until L21 is left blank and then I get
a 'FALSE' value in O21 instead of an empty cell.


O21:=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(A ND(I21="PI",L21<""),PMT(0.09,30,-L21)))

Can anyone help?

Thanks in advance.

Scott
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default What am I missing?

You have not specified the ELSE path for the second condition. Add "" before
the )) at the end.
Use this
=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(AND(I 21="PI",L21<""),PMT(0.09,30,-L21),""))

"Scoober" wrote:

Hi,

This formula does everything correct until L21 is left blank and then I get
a 'FALSE' value in O21 instead of an empty cell.


O21:=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(A ND(I21="PI",L21<""),PMT(0.09,30,-L21)))

Can anyone help?

Thanks in advance.

Scott

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default What am I missing?

Try this

=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(AND(I 21="PI",L21<""),PMT(0.09,30,-L21),""))

Mike

"Scoober" wrote:

Hi,

This formula does everything correct until L21 is left blank and then I get
a 'FALSE' value in O21 instead of an empty cell.


O21:=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(A ND(I21="PI",L21<""),PMT(0.09,30,-L21)))

Can anyone help?

Thanks in advance.

Scott

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default What am I missing?

Thank you sooooooooooo much

"Sheeloo" wrote:

You have not specified the ELSE path for the second condition. Add "" before
the )) at the end.
Use this
=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(AND(I 21="PI",L21<""),PMT(0.09,30,-L21),""))

"Scoober" wrote:

Hi,

This formula does everything correct until L21 is left blank and then I get
a 'FALSE' value in O21 instead of an empty cell.


O21:=IF(AND(I21="IO",L21<"",N21<""),L21*N21,IF(A ND(I21="PI",L21<""),PMT(0.09,30,-L21)))

Can anyone help?

Thanks in advance.

Scott

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default What am I missing?

Please note that I had given you the correct expression* to use earlier which
would not have resulted in FALSE.
*other than the revision to your subsequent follow-on on the "PMT" part
which was answered by Fred
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---

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
#missing! Arne Hegefors Excel Worksheet Functions 2 October 15th 08 05:50 PM
Something Missing Looping through Excel Worksheet Functions 4 December 18th 07 02:42 PM
i'm missing something [email protected] Excel Worksheet Functions 11 February 17th 07 06:23 AM
Toolbars Missing, And option to Add Missing SmeetaG Excel Discussion (Misc queries) 3 October 19th 05 11:43 AM
Missing Row Debbie Humphrey Excel Worksheet Functions 3 January 12th 05 06:26 PM


All times are GMT +1. The time now is 05:00 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"