Forum Discussion

Alfieb1996's avatar
Alfieb1996
Brass Contributor
Aug 08, 2023
Solved

Dragging formulas with fixed references & non fixed references

Hi,   I am needing to populate cells in a row with a couple of formulas. Here is an example: In cell L2 (V6 2019) =INDEX('2019'!$G$2:'2019'!$G$4, MATCH(A2, '2019'!$A$2:'2019'!$A$4, 0)) and next to...
  • PeterBartholomew1's avatar
    Aug 08, 2023

    Alfieb1996 

    It is not clear to me whether A2 on the formula (summary) sheet is part of an array?  I assume it is, and your requirement is to look the value up on multiple sheets before moving to look up the next value, B2.

     

    The concept of relative referencing is no more than a primitive approach to scanning a list or elements of an array with scalar formulas without needing to recognise the existence of the array as an entity.  To make it work when the references do not move one cell when dragging the formula one cell is a problem.  Typically you would need helper ranges that point to the correct references.

     

    If you use 365 then relative referencing is no longer required as a concept.  Functions like REDUCE and HSTACK allow entire tables of results to be generated as a single dynamic array.

Resources