Frankroger
New Member
- Joined
- Nov 16, 2023
- Messages
- 21
- Office Version
- 2013
- Platform
- Windows
I'm trying to figure out an array formula for this problem.
The two yellow cells are my inputs, F2 and G2
G6 is the answer cell that I need to create an array formula for
I've entered the date 15/01/2000 into "F2"
and the unit number 10 into "G2"
I want to return into cell "G6"
the date that is closest to 10 units from my specified start date, using columns "A" and "B" to figure from.
Column D is just an example,
I'm summing the cells in column "B" that are greater than the 15/01/2000, then ive highlighted in red the date that was closest to 10 units, so cell "G6" should return the date 21/01/2000
If I entered 17 into "G2", then "G6" should return 25/01/2000
But I want to figure this date via a single array formula rather using thousands of figuring helper cells
Any assistance would be greatly appreciated! Thank you
Edit: I didn't enter the title to my thread properly when I posted, but it won't allow me to edit to make the title more specific to my question
The two yellow cells are my inputs, F2 and G2
G6 is the answer cell that I need to create an array formula for
I've entered the date 15/01/2000 into "F2"
and the unit number 10 into "G2"
I want to return into cell "G6"
the date that is closest to 10 units from my specified start date, using columns "A" and "B" to figure from.
Column D is just an example,
I'm summing the cells in column "B" that are greater than the 15/01/2000, then ive highlighted in red the date that was closest to 10 units, so cell "G6" should return the date 21/01/2000
If I entered 17 into "G2", then "G6" should return 25/01/2000
But I want to figure this date via a single array formula rather using thousands of figuring helper cells
Any assistance would be greatly appreciated! Thank you
Edit: I didn't enter the title to my thread properly when I posted, but it won't allow me to edit to make the title more specific to my question
Book1 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Date | Unit | Start Date | Unit | ||||||||||||||||
2 | 10/01/2000 | 1.1 | 15/01/2000 | 10 | ||||||||||||||||
3 | 11/01/2000 | 1.3 | ||||||||||||||||||
4 | 12/01/2000 | 1.6 | ||||||||||||||||||
5 | 13/01/2000 | 1.4 | Anwser | |||||||||||||||||
6 | 14/01/2000 | 1.5 | 21/01/2000 | [0]0[/FORMULA] | ||||||||||||||||
7 | 15/01/2000 | 1.4 | 1.4 | |||||||||||||||||
8 | 16/01/2000 | 1.7 | 3.1 | |||||||||||||||||
9 | 17/01/2000 | 1.8 | 4.9 | |||||||||||||||||
10 | 18/01/2000 | 1.2 | 6.1 | |||||||||||||||||
11 | 19/01/2000 | 1.5 | 7.6 | |||||||||||||||||
12 | 20/01/2000 | 1.3 | 8.9 | |||||||||||||||||
13 | 21/01/2000 | 1.7 | 10.6 | |||||||||||||||||
14 | 22/01/2000 | 1.8 | 12.4 | |||||||||||||||||
15 | 23/01/2000 | 1.5 | 13.9 | |||||||||||||||||
16 | 24/01/2000 | 1.9 | 15.8 | |||||||||||||||||
17 | 25/01/2000 | 1.2 | 17 | |||||||||||||||||
18 | 26/01/2000 | 1.1 | 18.1 | |||||||||||||||||
19 | 27/01/2000 | 1.8 | 19.9 | |||||||||||||||||
20 | 28/01/2000 | 1.9 | 21.8 | |||||||||||||||||
21 | 29/01/2000 | 1.2 | 23 | |||||||||||||||||
22 | 30/01/2000 | 1.6 | 24.6 | |||||||||||||||||
23 | 31/01/2000 | 1.3 | 25.9 | |||||||||||||||||
24 | 01/02/2000 | 1.2 | 27.1 | |||||||||||||||||
25 | 02/02/2000 | 1.6 | 28.7 | |||||||||||||||||
26 | 03/02/2000 | 1.8 | 30.5 | |||||||||||||||||
27 | ||||||||||||||||||||
28 | ||||||||||||||||||||
29 | ||||||||||||||||||||
Sheet3 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I6 | I6 | |
A3:A26 | A3 | =A2+1 |
D7:D26 | D7 | =SUM(B$7:$C7) |
Last edited: