How would you use Vlookup to select a range?
Look at the table below.
i would like to add up the 12 numbers based on a date entered in another cell.
As an example, if cell C1 has a date of 1/11/21 - i would like Vlookup to add up the 12 figures from the range 1/12/20 - 1/11/21 (giving result 1380) - if C1 has a date of 1/9/21 I would like Vlookup to add up the 12 figures from the range 1/10/20 - 1/9/21) and so on (result 1140)
Look at the table below.
i would like to add up the 12 numbers based on a date entered in another cell.
As an example, if cell C1 has a date of 1/11/21 - i would like Vlookup to add up the 12 figures from the range 1/12/20 - 1/11/21 (giving result 1380) - if C1 has a date of 1/9/21 I would like Vlookup to add up the 12 figures from the range 1/10/20 - 1/9/21) and so on (result 1140)
01/08/2020 | 20 |
01/09/2020 | 30 |
01/10/2020 | 40 |
01/11/2020 | 50 |
01/12/2020 | 60 |
01/01/2021 | 70 |
01/02/2021 | 80 |
01/03/2021 | 90 |
01/04/2021 | 100 |
01/05/2021 | 110 |
01/06/2021 | 120 |
01/07/2021 | 130 |
01/08/2021 | 140 |
01/09/2021 | 150 |
01/10/2021 | 160 |
01/11/2021 | 170 |