Date Formula Query

Bready340

New Member
Joined
Nov 16, 2018
Messages
7
HiEveryone,



I'm going round in circles and cannot figure out a formula for thebelow, I really need some help.

The criteria needs to determine whether a specific delivery date is greaterthan 70 days from a given date(this could be a date in the future or the past)and return a specific value (“Backlog”if the delivery date is greater than 70days and “Not Backlog” if the delivery date is under the 70 days). However, ifthe customer has agreed to take the delivery after 70 days (specified in adifferent column) then I need the formula to return “Not Backlog”, or “Backlog”if this date becomes more than 70days from “today”.


Ive tried using nested IF AND functions but I can never seem to get theright result!

Any help or advice would be greatly appreciated!

Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
What date are you referring to by "this date"? (underlined below)



HiEveryone,



I'm going round in circles and cannot figure out a formula for thebelow, I really need some help.

The criteria needs to determine whether a specific delivery date is greaterthan 70 days from a given date(this could be a date in the future or the past)and return a specific value (“Backlog”if the delivery date is greater than 70days and “Not Backlog” if the delivery date is under the 70 days). However, ifthe customer has agreed to take the delivery after 70 days (specified in adifferent column) then I need the formula to return “Not Backlog”, or “Backlog”if this date becomes more than 70days from “today”.


Ive tried using nested IF AND functions but I can never seem to get theright result!

Any help or advice would be greatly appreciated!

Thanks!
 
Upvote 0
You've not given a data structure, so...

Col A = Delivery Date
Col B = Given Date
Col C = Agreed (Y/N)

Headers in Row 1 (as above), Data from Row 2

Formula in D2;

Code:
=IF(B2-A2<=70,"Not Backlog",IF(AND(B2-A2>70,C2="Y"),"Not Backlog","Backlog"))

Not sure if that gets where you need to be but it'll at least point you in the right direction.

Post back if you need more help.
 
Upvote 0
Thanks JazzSP8, i'll have a go with that!

Sorry for the lack of information, it my first time posting!
 
Upvote 0
Sorry for the lack of information, it my first time posting!

No problem - You just need to remember that we can't see your data and we've no idea how your Workbook is set out so the more information you can give helps us, help you :)
 
Upvote 0
Thanks Jazz!

Sorry, I still cant get the formula right! Heres a snap shot of the data;
Created onReq. Desp.Agreed Desp. Date
07/08/201802/10/201823/11/2018Not backlog
29/10/201807/01/201907/01/2019
13/04/201827/11/201804/12/2018
14/05/201810/10/201810/10/2018Backlog
<colgroup><col width="88" style="width: 66pt; mso-width-source: userset; mso-width-alt: 3218;"> <col width="81" style="width: 61pt; mso-width-source: userset; mso-width-alt: 2962;"> <col width="109" style="width: 82pt; mso-width-source: userset; mso-width-alt: 3986;"> <col width="92" style="width: 69pt; mso-width-source: userset; mso-width-alt: 3364;"> <col width="81" style="width: 61pt; mso-width-source: userset; mso-width-alt: 2962;"> <tbody> </tbody>


So in the first example, the order was created on the 7/8, but it is Not backlog as the customer agreed to take it on the 23/11. This will become backlog on the 24/11.
In the last example, the order was promised to be delivered on the 10/10, but is still in the open order book and therefore a Backlog.

Does this make sense?

Thanks for any input
 
Upvote 0
From what you've said, the first example wouldn't be a back log because it's less than 70 days between 07/08 and 02/10?

The last example would be a Backlog because there is more than 70 days between 14/05 and 10/10 regardless of what is in the agreed column...?
 
Upvote 0
Hi Jazz,

For the second line yes, you are correct. With the first line the customer agreed take delivery later than the requested date, therefore making it not backlog. If that makes sense?

Sorry, this is not my criteria, its what ive been tasked with! Thanks for you help!
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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