I have a sheet which records profit and loss for horse racing and I am wondering how it would be possible to have the Total Win Equity (CR) be dynamic.
So it is an ongoing tally of the profit plus the starting bank. These are the formulas
Is it at all possible that this can happen? I have been trying to think of a solution, but have come up short. Even SUBTOTAL doesn't see to cover it as whatever rows are visible will always need to reference the previous visible row and not just the previous numerical row. Does that make sense at all?
As you see here
So the rows down to 23 are consecutive but I have hidden rows 24-30, just as may happen with autofiltering. Notice how the figure in row 31 has dropped substantially from that in row 23? The goal would be to have thing recalculate so that the accurate figures show in each cell
Hopefully it is achievable.
Thanks in advance
So it is an ongoing tally of the profit plus the starting bank. These are the formulas
=CR18+AD19
AD is the Profit or Loss. So it adds the profit of the current row + the Total Win Equity of the row above to show the current equity. The sheet has quite a lot of filters and when autofiltering is applied, naturally the Total Win Equity becomes incorrect, as not every row is there. I actually want that column to have the ability to tally what is visible, so CR of the row above + AD of the current row.Is it at all possible that this can happen? I have been trying to think of a solution, but have come up short. Even SUBTOTAL doesn't see to cover it as whatever rows are visible will always need to reference the previous visible row and not just the previous numerical row. Does that make sense at all?
As you see here
2018 Latest Results June 2021.xlsb | |||
---|---|---|---|
CR | |||
17 | Total Win Equity | ||
18 | 10303.8 | ||
19 | 10203.8 | ||
20 | 10103.8 | ||
21 | 10003.8 | ||
22 | 9903.8 | ||
23 | 9803.8 | ||
31 | 9003.8 | ||
32 | 8903.8 | ||
sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
CR18 | CR18 | =AD18+10000 |
CR31:CR32,CR19:CR23 | CR19 | =CR18+AD19 |
So the rows down to 23 are consecutive but I have hidden rows 24-30, just as may happen with autofiltering. Notice how the figure in row 31 has dropped substantially from that in row 23? The goal would be to have thing recalculate so that the accurate figures show in each cell
Hopefully it is achievable.
Thanks in advance