Netwrokdays formula in excel 2007

rafais2009

New Member
Joined
Jan 22, 2015
Messages
3
Gentlemen,

I am a new user. I have an excel 2007 sheet where I am calculating number of outstanding days for an Item to return.

This is how it looks like:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Date Submitted[/TD]
[TD]Date Sent[/TD]
[TD]No.of Days[/TD]
[/TR]
[TR]
[TD]01 January 2015[/TD]
[TD]05 January 2015[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

If there is not date in B then I want column C to display the number of outstanding days from today (today-A). Then as soon as we enter a date in column B then C shall display B-C no of outstanding days.

can anyone please help me this is kind of urgent I need to submit this today.

P.S,

I do not want exclude any days it should count all the days including weekends.

Thanks
Syed
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Be advised using TODAY as live formula because it's volatile will force constant recalculation and slow your file down. Where possible, and I know it's not always the case, try to store todays date. Perhaps consider a tiny bit of VBA that runs when you open the file - does assume you will not have file open past midnight...
Option Explicit
Private Sub Workbook_Open()
Sheet1.Range("A1").Value = Date
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

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