Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How do I calculate FMLA hours used in the last rolling 12 months

I am using Excel 2000.

I have to create a spreadsheet that calculates the hours used in the last
rolling 12 months.

Col A Col B Col C
Date Hours used Hours in past 12 month period
1-1-07 1.00 1.00
2-15-07 5.00 6.00
2-5-08 8.00 8.00

What formula will I enter to get the amounts in Col. C? Will I have to
enter a different formula for each row in Col. C? Thanks.

Linda
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default How do I calculate FMLA hours used in the last rolling 12 months

Assuming that your first date (1-1-07) is in row 2, then in C2 put this formula
=SUMIF($A$2:A2,"" & A2-365,B$2:B2)
as you fill that formula on down the sheet, it will automatically do the
rolling-total for all dates that are within the past 365 days (actually may
be 364, but testing can confirm it for you - if 365, then change 365 in the
formula to 366). You won't have to change the formula, it fills down very
nicely.


"Linda432" wrote:

I am using Excel 2000.

I have to create a spreadsheet that calculates the hours used in the last
rolling 12 months.

Col A Col B Col C
Date Hours used Hours in past 12 month period
1-1-07 1.00 1.00
2-15-07 5.00 6.00
2-5-08 8.00 8.00

What formula will I enter to get the amounts in Col. C? Will I have to
enter a different formula for each row in Col. C? Thanks.

Linda

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How do I calculate FMLA hours used in the last rolling 12 mont

The formula worked great, but, how do I change it to take into account leap
years? Thanks again.

"JLatham" wrote:

Assuming that your first date (1-1-07) is in row 2, then in C2 put this formula
=SUMIF($A$2:A2,"" & A2-365,B$2:B2)
as you fill that formula on down the sheet, it will automatically do the
rolling-total for all dates that are within the past 365 days (actually may
be 364, but testing can confirm it for you - if 365, then change 365 in the
formula to 366). You won't have to change the formula, it fills down very
nicely.


"Linda432" wrote:

I am using Excel 2000.

I have to create a spreadsheet that calculates the hours used in the last
rolling 12 months.

Col A Col B Col C
Date Hours used Hours in past 12 month period
1-1-07 1.00 1.00
2-15-07 5.00 6.00
2-5-08 8.00 8.00

What formula will I enter to get the amounts in Col. C? Will I have to
enter a different formula for each row in Col. C? Thanks.

Linda

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Challenge: Return the rightmost 12 values (rolling 12 months) mr tom Excel Worksheet Functions 2 January 15th 08 01:15 PM
I need help with a formula for rolling twelve months QD Excel Discussion (Misc queries) 0 January 1st 08 10:43 PM
ROLLING 12 MONTHS PLEASE HELP ME!!!!! Need Help Excel Discussion (Misc queries) 1 September 21st 06 03:28 PM
rolling 12 months D Excel Worksheet Functions 4 August 31st 05 10:24 AM
rolling months tjkyon Excel Discussion (Misc queries) 2 January 20th 05 05:39 PM


All times are GMT +1. The time now is 08:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"