Page 1 of 1
Excel Formula
Posted: Fri Jun 23, 2017 8:59 am
by Safetysmurf
Help!
I need a formula to calculate a running date (todays date) minus a previous date to give the number of days in between.
And one for the same without the Saturday and Sundays if possible?
Any help much appreciated.
Regards,
SS
Re: Excel Formula
Posted: Sat Jun 24, 2017 8:41 am
by Coolcat
Hi, this will give you the number between two dates, not sure how you would take out the weekends
=(DAYS360(O7,C7))/365
Re: Excel Formula
Posted: Mon Jun 26, 2017 3:37 pm
by grim72
When it comes to figuring out how to do something on Excel I usually post my requirement on
https://www.excelforum.com/ and some bright spark will give me the solution within a few minutes, 9 times out of 10. Has saved me hours of work in the past so would highly recommend the forum.
Re: Excel Formula
Posted: Tue Jun 27, 2017 8:16 am
by Safetysmurf
Thanks for the help guys.
I found it in the end with the help of google and 1.5 hrs persistence of trying.
The formula i used for working days since an accident =NETWORKDAYS(C4,D4) with C4 being the date of the accident and D4 being todays date and format cells to the full column to general
Days since an accident =DATEDIF(C4,D4,"d")
D4 needs to be set to =NOW()
You input the accident date in C4
Thanks,
Re: Excel Formula
Posted: Fri Jun 30, 2017 3:54 pm
by Siftersam
This is an excellent reference website with clear examples
https://exceljet.net/formulas
Re: Excel Formula
Posted: Fri Jun 30, 2017 6:16 pm
by Alexis
Many thanks Siftersam.
Re: Excel Formula
Posted: Mon Oct 16, 2017 4:02 pm
by MatMan
I was trying to come up with a similar formula a few weeks back, wish I'd have seen this sooner, doh! Good info guys