Return "yes" "no" awhile comparing dates in different columns

AS12Excel

New Member
Joined
Feb 16, 2018
Messages
7
Hello, I need help on finding the best way to analyze when a vendor is delayed on providing services. I have worked on this for the past 2 days with AND and IF formulas but cannot get anywhere. Here is an example. I have couple items delayed and 1 in progress (3rd line). Thanks in advance! My table has about 500 lines and this is just a sample.

Service Due Date by the customerService Completion Date (Vendor) IS the vendor Delayed?
1/26/181/30/18
1/26/181/20/18
2/20/181/0/00
2/16/182/16/18
2/10/182/14/18
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Welcome to the Board!

If your first row of data is in cells A2 and B2, is this what you are looking for (in column C2):
Code:
=IF(B2>A2,"Yes","No")
 
Upvote 0
Welcome to the Board!

If your first row of data is in cells A2 and B2, is this what you are looking for (in column C2):
Code:
=IF(B2>A2,"Yes","No")

Joe, thanks for your fast reply. I forgot to mention the following condition:

If column A has a date 2/10/18 and column B 1/0/00(means VALUE 0) which means the vendor still pending services delivery. In this case, i need my column C to show "YES" AS delayed.
Your first thought is what i have but it's not totally accurate. Any idea of what condition is missing to obtain "YES" or True on column vendor delayed?


<tbody>
</tbody>
Service Due Date by the customerService Completion Date (Vendor)IS the vendor Delayed?
1/26/181/30/18
1/26/181/20/18
2/20/181/0/00
2/16/182/16/18
2/10/181/0/00

<tbody>
</tbody>
 
Upvote 0
Try:
Code:
=IF(OR(B2>A2,B2=0),"Yes","No")
 
Upvote 0
Almost worked! For all dates under today’s date then tomorrow’s date and so forth the condition also assigns as vendor’s delay. Anyway I can add NOT B2=0 in the formula?
 
Upvote 0
For all dates under today’s date then tomorrow’s date and so forth the condition also assigns as vendor’s delay.
Not sure what I understand what you are trying to say here.

Anyway I can add NOT B2=0 in the formula?
That would look like:
B2<>0
 
Upvote 0
I think I might see where you are going with this.
Does this do what you want?
Code:
<today()),and(b2>=IF(OR(AND(B2=0,A2 < TODAY()),AND(B2>A2,B2<>0)),"Yes","No")
</today()),and(b2>
 
Last edited:
Upvote 0
Hey Joe, I have to confess the logic sometimes can be way beyond to my understanding. That portion was resolved than I have 302 rows with customer and vendor date (1/0/00) which brings me as “YES” vendor’s delayed.
I have not much experience on nesting more than 2 functions and that’s the reason of my frustration.
My apologies for all the concerns.
 
Upvote 0
So did my last suggestion work for you?
 
Upvote 0
Code:
<today()),and(b2>=IF(OR(AND(B2=0,A2 < TODAY()),AND(B2>A2,B2<>0)),"Yes","No")
</today()),and(b2>[/QUOTE]


How can I add in the above formula, when column A and B=0 or 1/0/00, column C replies "NO"? This is the only codition that is now missing. Everything else works perfectly. :)

Service Due Date by the customerService Completion Date (Vendor)IS the vendor Delayed?
1/0/001/0/00
1/0/001/0/00
1/26/181/20/18NO
2/10/181/0/00YES
2/16/182/16/18NO
<colgroup><col width="74" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2645;"> <col width="100" style="width: 75pt; mso-width-source: userset; mso-width-alt: 3555;"> <col width="64" style="width: 48pt; mso-width-source: userset; mso-width-alt: 2275;"> <tbody> </tbody>
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,030
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top