Maybe someone can help me here. I'm trying to write a formula that copies a row over to the next tab based on the value of a cell. Any help would be greatly appreciated.
The data source is a table. I have selected records on the basis of a flag and either transferred values cell at a time into another table or, alternatively, transferred the whole lot using a single multi-cell array formula.
The key is the named formula 'pointer' that contains the record indices of the records flagged to be copied. The array is consolidated using SMALL and INDEX is used to transfer the cell content.
I would recommend starting with a helper field like my 'Flag'. Only when you have both the condition and the data reads from the destination working is it worth considering 'clever' tricks to remove helper ranges (normally by nesting formulas but named formulas provide an alternative approach to the nested formula). In your case Flag is defined by a relative formula
I have updated the miniscule file to demonstrate how the 'flag' field can be changed to a formula to capture pretty much any selection criterion you may choose. An advantage of working with helper ranges is, once you have the formula working correctly, everything downstream should go through without further intervention (assuming it was correct in the first place ).