Get Relative Column Numbers In Range Excel Formula
In the example shown, the array formula in B4:H4 is: On the worksheet, this must be entered as multi-cell array formula using Control + Shift + Enter This is a robust formula that will continue to generate relative numbers even when columns are inserted in front of the range. The second COLUMN function generates an array with just one item like this: which is then subtracted from the first array to yield: Finally, 1 is added to get:...