Solved

Formula help please

Posted on 2011-02-16
4
236 Views
Last Modified: 2012-06-27
In the below formula:

=IF(I16<$N$10,M16,0)

I16 is a date field and N10 is a date field.  

How can I adjust the formula so that if I16 is null, a zero is also returned.  Right now it returns the value of M16 when null.    Thanks
0
Comment
Question by:snyperj
4 Comments
 
LVL 58

Accepted Solution

by:
cyberkiwi earned 500 total points
ID: 34910152
=IF(IF(""=I16&"",$N$10,I16)<$N$10,M16,0)
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34910731
Use an AND to test for both conditions, I16 < N10 and I16 isn't blank

=IF(AND(I16<>"",I16<$N$10),M16,0)

regards, barry
0
 
LVL 8

Expert Comment

by:ragnarok89
ID: 34910757
=if(isnull(I16),0,IF(I16<$N$10,M16,0))

or

=if(I16="",0,IF(I16<$N$10,M16,0))
0
 

Author Closing Comment

by:snyperj
ID: 34910798
this one was first and worked for me- so thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now