Using a cell to find previous days work

tcfd1166

Board Regular
Joined
Jul 27, 2007
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Does anyone know how I can get a cell to show a sum of past 90 days of entries when I enter a date into another cell. Basically I would like when I enter yesterday's date in cell B3, it calculates from column L the previous 90 days where L days start in row 16. I have column B listing all the days of the year starting with Jan 1, 2007 through Dec 31, 2007. I am trying to keep up with employee days for any given past 3 months depending on what day I enter in cell B3.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I tried this code, and it showed up "Fri 01/06/00" in the cell I want it to show the past 90 days.
 
Upvote 0
I figured it out, dumb me didn't check the cell format. Thanks, it fixed it.
 
Upvote 0
new question for same topic:

First off, the formula works great! thanks...

Second, I have crews that are working half of the year. I would like to know, just like before, using a certain date, how many days they are expected to work since Jan 1. Example, take today, 8/27/07, I would like to know how many days they should have worked since 01/01/07. I have been using =COUNT(B16:B264)*0.5 to get my answer, but I have to manually move the column in the formula. I would like it to work off my date I enter above to count the days and multiply by 0.5. Any clues?
 
Upvote 0

Forum statistics

Threads
1,214,414
Messages
6,119,375
Members
448,888
Latest member
Arle8907

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