Nested if formula

O

ocuhcs

The objective is to report the delivery status of open orders and to report
on performance of meeting milestones .

The formula I am attempting to use is:
=IF(M414>L414,"On
Time",IF(R414>0,"Pending",IF(M414>L414,"Late",IF(M414<=TODAY(),"Late"))))

Column M = estimated delivery date
Column L = actual delivery date (not always populated)
Column R = Outstanding balance (if = to 0, then column L is populated)
 
O

ocuhcs

ocuhcs said:
The objective is to report the delivery status of open orders and to report
on performance of meeting milestones .

The formula I am attempting to use is:
=IF(M414>L414,"On
Time",IF(R414>0,"Pending",IF(M414>L414,"Late",IF(M414<=TODAY(),"Late"))))

Column M = estimated delivery date
Column L = actual delivery date (not always populated)
Column R = Outstanding balance (if = to 0, then column L is populated)
The prolem I am having is that it only returns 2 of the requested results
 
J

John Bundy

Its hard to say without the data, but one thing i do notice is that you use
the same formula twice
=IF(M414>L414,"On Time"
and
IF(M414>L414,"Late"
 
O

ocuhcs

Thanks, I was using > for both test when one should have been <. That solved
one problem, but now I see the problem I am having is that if column L has no
data then I get an improper result.
 
P

Pete_UK

Try this then:

=IF(R414>0,"Pending",IF(L414="","no data",IF(M414>L414,"On
Time",IF(OR(M414<L414,M414<=TODAY()),"Late"))))

Change "no data" to something more suitable.

Hope this helps.

Pete
 

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


Top