Formula in filtered column
Hi everyone,
I wonder if anyone is able to help me. I have a large selection of financial data which comprises various columns which I use to input transactions, line by line. In column C, I have dates; in column L, I have a drop-down list to select a type for that particular transaction, and in column M is where you can put the value of that transaction. So it would work as follows:
Date Type Value
08/04/2023 Motor expenses 250.00
When I filter the type, so it is only showing all the transactions relating to that particular type (there are about 20 of them), I want to then put a formula in the date column that says =cell above+14. This is because with that particular 'Type', a transaction will occur every two weeks. I want to be able to filter the cell, copy this formula down to all cells, and then when I take the filter off those transactions will just be in the list but only on the dates that my formula is creating. The issue I have is that the formula of course works when the column is filtered, but when the filter is taken off, the cell above the particular date cell with the formula is different, because all of the data is then present, and therefore the formula is taking whatever cell is then above it and adding 14.
Can anyone advise how I can create a formula in the filtered column, copy it down (ignoring hidden cells), and then when I remove the filter so the formulas stay relevant to cells that were present when it was filtered?
I am first of all having trouble copying the formula down, and cannot drag it down like to would normally autofill, because there are hidden columns. I have tried copying to visible cells only and other tricks I have found online but nothing has worked yet! I fear I may be in the position that I have to individually put the formula into every single cell!
Thank you in advance 🙂