franklin_m
New Member
- Joined
- Jun 16, 2013
- Messages
- 47
- Office Version
- 365
- Platform
- Windows
- MacOS
I have a set of data, a subset provided in the mini sheet, that I want to do a calculation for the area in gray/red using a formula that I can drag across columns and rows to match the full data set. Cells E1:P1 and D2:D13 are years. Cells A2:A13 are years. Cells B2:B13 are datapoints corresponding to a value in that year.
Here's what it's doing - albeit a brute force method: For the value in F6, it takes B3 and divides by B6 (=$B$3/$B6). Similarly, for the value in N4, it takes B11 divided by B4 (=$B$11/$B4). Note that I colored cells in red where it's dividing a number by itself - which also makes for a convenient error check.
What I would like is a formula for the gray area that I can drag and fill for a period of years from 2024 back to 1914 instead of brute force.
Thanks.
Here's what it's doing - albeit a brute force method: For the value in F6, it takes B3 and divides by B6 (=$B$3/$B6). Similarly, for the value in N4, it takes B11 divided by B4 (=$B$11/$B4). Note that I colored cells in red where it's dividing a number by itself - which also makes for a convenient error check.
What I would like is a formula for the gray area that I can drag and fill for a period of years from 2024 back to 1914 instead of brute force.
Thanks.