Nested if with an unwanted false result

P

pelham.higgins

Dear All

I have the following formula that works fine:

=IF(ISBLANK($F10),"",IF(MONTH($F10)=MONTH(K$6),IF(YEAR($F10)=YEAR(K$6),
$E10,"")))

However, at the appropriate times when the IF formula is genuinely
false it is responding with "FALSE" in the cell. How can I have it so
that nothing appears in the cell if it is false?

FYI, the following formula (which the above formala is based on) works
fine:

=IF(ISBLANK($F10),"",IF(MONTH($F10)=MONTH(M$6),$E10,""))

Regards
Pelham
 
T

T. Valko

Try this:

=IF($F10="","",IF(AND(MONTH($F10)=MONTH(K$6),YEAR($F10)=YEAR(K$6)),$E10,""))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

What's Wrong With This Formula? 12
Sumproduct by date 4
Formulas 1
nested if 6
Formating with a formula 3
Time Calculation and formulas needed (2 questions) 2
An easier way? 9
Help with an IF formula please. 4

Top