Good morning friends! (same to all others...)
I am approaching a problem where I have a linear calendar from Jan 1 through Dec 31. As I am only concerned with the last 180 days' history, when we get to Dec 31 it simply starts back at it's beginning at Jan 1, much like a circle. I wish to total all the values that are, for example, two rows below the calendar for today and going back 180 days.
In the following, any note of "***" Means: "Here I know I am presently lost and looking for an answer!"
The present model I am working with would have me:
1) Identify today's date -today()
1a) Determine the cell reference that today's date is in and the cell two rows below it. ***
2) Figure out if there are 180 days history in the current year - I suspect some simple subtraction
3) If so, determine the cell reference of that day and the cell reference for the cell two rows down: ***
3a) Total the cells from step 1a through step 3
4, and so forth: All would be based on simple computations as to days past to be included and days backwards from the last (Dec 31) position to be included.
Because I am re-aquainting myself with Excel, I suspect there are much more elegant ways to handle this. I would truly appreciate any ideas that I can learn from!
As always has been the case throughout all the years you folks have helped me, on this board and a few others, Thank-You; and Merry Christmas!
Bookmarks