40087950

New Member
Joined
Aug 5, 2019
Messages
1
Hi all,

This could be a novice question but I was hoping one of you could help me.

I have a report to run this morning from an excel file, I have a list of target dates and a list of dates when the jobs were actually completed. I basically only want to know which jobs didn't meet the target.

Any help would be appreciated.

Thanks
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
55,948
Office Version
  1. 365
Platform
  1. Windows
Welcome to the Board!

Without knowing the structure of the data or your rules, we really cannot give you anything more than a general answer. The answer is most likely "yes".
How to do that really depends on the details of your data and rules. If you can provide some sample data and your conditions, we can help you with that.

You cannot upload files to this site. But there are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html. Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
 

ClaireS

Board Regular
Joined
Jul 29, 2013
Messages
137
As a very basic answer, try something like this:

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style="font-weight: bold;;">Job</td><td style="font-weight: bold;;">Target Date</td><td style="font-weight: bold;;">Completed</td><td style="font-weight: bold;;">Late</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Job 1</td><td style="text-align: right;;">01/08/2019</td><td style="text-align: right;;">05/08/2019</td><td style=";">Late</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">Job 2</td><td style="text-align: right;;">01/08/2019</td><td style="text-align: right;;">31/07/2019</td><td style=";"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style=";">Job 3</td><td style="text-align: right;;">10/08/2019</td><td style="text-align: right;;"></td><td style=";"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";">Job 4</td><td style="text-align: right;;">10/08/2019</td><td style="text-align: right;;">05/10/2019</td><td style=";">Late</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">D2</th><td style="text-align:left">=IF(<font color="Blue">C2>B2,"Late",""</font>)</td></tr></tbody></table></td></tr></table><br />

You can get more creative than this but I thought I would start simple :)<strike>
</strike>
[/FONT]
 

ClaireS

Board Regular
Joined
Jul 29, 2013
Messages
137
This would flag up jobs that were completed ate or that have not been completed yet, though the completion date is past:

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">1</td><td style="font-weight: bold;;">Job</td><td style="font-weight: bold;;">Target Date</td><td style="font-weight: bold;;">Completed</td><td style="font-weight: bold;;">Late</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Job 1</td><td style="text-align: right;;">01/08/2019</td><td style="text-align: right;;">05/08/2019</td><td style=";">Late</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">Job 2</td><td style="text-align: right;;">01/08/2019</td><td style="text-align: right;;">31/07/2019</td><td style=";"></td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style=";">Job 3</td><td style="text-align: right;;">03/08/2019</td><td style="text-align: right;;"></td><td style=";">Late</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";">Job 4</td><td style="text-align: right;;">10/08/2019</td><td style="text-align: right;;">05/08/2019</td><td style=";"></td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">D2</th><td style="text-align:left">=IF(<font color="Blue">OR(<font color="Red">C2>B2,AND(<font color="Green">ISBLANK(<font color="Purple">C2</font>),B2<TODAY(<font color="Purple"></font>)</font>)</font>),"Late",""</font>)</td></tr></tbody></table></td></tr></table><br />[/FONT]
(Note I am using UK dates in the format DD/MM/YYYY).
 

Watch MrExcel Video

Forum statistics

Threads
1,122,893
Messages
5,598,712
Members
414,254
Latest member
MarieCo

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
Top