Days Delay excel formula as per given data

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
533
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
HI, we have the following data where we count the delay but don't want to count the Sunday

DateOrderP NameTGQtyRecd. DateRecd. QtyDelay
27/4/2010GivenTEST 14/29/20105004/27/2010500
9/5/2010GivenTEST 25/16/20102005/20/2010150
9/5/2010GivenTEST 35/16/20101505/17/2010150
10/5/2010GivenTEST 45/17/2010600Not recd. till now and date is over
10/5/2010GivenTEST 55/17/20102545/16/2010254
12/5/2010GivenTEST 65/19/20106545/18/2010654
12/5/2010GivenTEST 75/19/20109516/10/2010950
12/5/2010GivenTEST 85/19/20107576/15/2010757


Delay will be count if column g will be bigger then column D
and also in Column G5, its blank but date is over so want to count delay in this cell also
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
thanks for using the xl2bb add in, but you did not select show mini sheet (to show column letters and row numbers) so we have to guess what is column G and what is column D. I will attempt an answer.

try this:
I am not sure if networkdays.intl is in 2010 or 2007. The help documentation says it is available in 2010.

Book1
BCDEFGHIJ
1OrderP NameTGQtyRecd. DateRecd. QtyDelay
2GivenTEST 12010-04-295002010-04-27500 
3GivenTEST 22010-05-162002010-05-201504
4GivenTEST 32010-05-161502010-05-171501
5GivenTEST 42010-05-17600Not recd. till now and date is over 
6GivenTEST 52010-05-172542010-05-16254 
7GivenTEST 62010-05-196542010-05-18654 
8GivenTEST 72010-05-199512010-06-1095020
9GivenTEST 82010-05-197572010-06-1575724
Sheet4
Cell Formulas
RangeFormula
J2:J9J2=IF(G2>D2,NETWORKDAYS.INTL(D2,G2,11),"")
 
Last edited:
Upvote 0
Thanks, we will copy mini sheet from next time. Excel version is 2007

But in row 4 date is over so we need delay there also

Help please
 
Upvote 0
But in row 4 date is over so we need delay there also
I'm not sure what you mean. I show as being 1 day over already. Please explain.
 
Upvote 0
Oh sorry… my mistake

I mean in row 5 where we have not received entry but date is over

Because target date is 2010-05-17 and we have received the product till 2010-05-20,

Suppose today is 2010-05-20 and we have not received the order till now so we want this delay also
 
Upvote 0
Okay. So if the received date is blank you want to use the current system date?

try this:

Mr excel questions 41.xlsm
BCDEFGHIJ
1OrderP NameTGQtyRecd. DateRecd. QtyDelay
2GivenTEST 12010-04-295002010-04-27500 
3GivenTEST 22010-05-162002010-05-201504
4GivenTEST 32010-05-161502010-05-171501
5GivenTEST 42010-05-17600Not recd. till now and date is over4092
6GivenTEST 52010-05-172542010-05-16254 
7GivenTEST 62010-05-196542010-05-18654 
8GivenTEST 72010-05-199512010-06-1095020
9GivenTEST 82010-05-197572010-06-1575724
Vishaal
Cell Formulas
RangeFormula
J2:J9J2=IF(OR(G2="",G2>D2),NETWORKDAYS.INTL(D2,IF(G2="",TODAY(),G2),11),"")
 
Upvote 0
Solution
I happy you found an answer! Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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