DateDif ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All-

First of all, I wanted to say 'Thank You' to everyone who post replies on
this site. I cannot speak for everyone, but I always appreciate when someone
take the time and effort to reply. Thank You!

Now my question. I work in Human Resources and I need to run reports on an
employee's gross pay 26 weeks prior to an injury date.

As an example, if an employee was injured on 06/14/06, I would need to find
out what the date was 26 weeks prior to 06/14/06. Going to my calendar and
counting back 26 weeks, I can tell you the date would be 12/14/05. I would
like to be able to open up an excel workbook, type the date of injury
(06/14/06) into a cell, and have excel calculate the 26 week difference
(12/14/05). I think the DateDif function would be used, but do not know how
to set up the formula. Could someone please supply the correct formula for
me if possible? Thank You!
 
Hi

It's not that complicated. 1 is a day in excel. So a week is 7, and 26 weeks
is 7*26. Your date in A1, formula in B1:
=A1-(7*26)

HTH. Best wishes Harald
 
Thank you very much! It worked slick and is going to make running this
report a whole lot easier.

Alaina
 
Glad you liked it Alaina. Thank you for the feedback.

Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top