I am using the table function and structured reference for a formula on the far right marked in yellow, "YTD Quota". That formula is: =SUM(Main[@[Jan]:[Mar]]), and sums Jan, Feb and Mar (also in yellow) in the row "Name 1". I would like the second sum term in the formula "Mar" to be variable and to refer to a value outside the table. This way I could change Mar to Apr, May etc in the "Month to measure field" at the top of the table.
I've tried to use Indirect function in the formula (in place of "Mar")to achieve this, but I can't get the syntax right. Any ideas?
I've tried to use Indirect function in the formula (in place of "Mar")to achieve this, but I can't get the syntax right. Any ideas?
Book6 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | Month to measure | Mar | ||||||||||||||
2 | ||||||||||||||||
3 | Name | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | YTD Quota | ||
4 | Name 1 | 231,000 | 254,100 | 284,900 | 252,000 | 277,200 | 310,800 | 273,000 | 300,300 | 336,700 | 294,000 | 323,400 | 362,600 | 770,000 | ||
5 | Name 2 | 231,000 | 254,100 | 284,900 | 252,000 | 277,200 | 310,800 | 273,000 | 300,300 | 336,700 | 294,000 | 323,400 | 362,600 | 770,000 | ||
6 | Name 3 | 462,000 | 508,200 | 569,800 | 504,000 | 554,400 | 621,600 | 546,000 | 600,600 | 673,400 | 588,000 | 646,800 | 725,200 | 1,540,000 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
N4:N6 | N4 | =SUM(Main[@[Jan ]:[Mar ]]) |
Last edited by a moderator: