We help IT Professionals succeed at work.
Get Started

Simplify formula for calculating days between two dates.

Elegant1
Elegant1 asked
on
63 Views
Last Modified: 2015-10-28
The formula below is what I use to calculate the number of working days between two dates, excluding holidays that I list on a different tab called "Holiday".  I was wondering if there is a simplified formula instead of what I'm currently using.  Below is the formula.

=SUM(INT((WEEKDAY($O8-{2,3,4,5,6})+$Q8-TODAY())/7))-SUMPRODUCT(--('Holiday Off'!$A$1:$A$10>=$O8),--('Holiday Off'!$A$1:$A$10<=$Q8))

Thanks in advance.
Comment
Watch Question
Partner
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE