Kirk P.
New member
- Joined
- Nov 4, 2016
- Messages
- 10
- Reaction score
- 0
- Points
- 0
- Location
- Minnesota USA
- Excel Version(s)
- 365
I've got this code
Table.AddColumn(ReplacedNullwithZero, "$ Variance", each [2017]-[2016])
to calculate a dollar variance between the 2017 and 2016 columns.
For obvious reasons, I'd rather make this calculation refer to column numbers or positions rather than the actual column header names. Something like Column2 - Column1, not 2017 - 2016. Can this be done?

Table.AddColumn(ReplacedNullwithZero, "$ Variance", each [2017]-[2016])
to calculate a dollar variance between the 2017 and 2016 columns.
For obvious reasons, I'd rather make this calculation refer to column numbers or positions rather than the actual column header names. Something like Column2 - Column1, not 2017 - 2016. Can this be done?
