I've marked it as solved because it is indeed.
So, to refer to the current row in a table you just use the and add a column header between and add the then add the column header once again between , did I understood it correctly?
Please, now that I added more data, I've realized that I need to edit the formula manually (which makes sense).
Because I am not working alone in the file, my coworker at work may forget to edit the formula.
I've googled a lot for a solution to make it as dynamic as possible, and I found that it could be done using the INDEX and the OFFSET functions, but I was not able to adjust it.
I mean you thankfully build the formula depending on the manual range from G$2:G$26; so I was thinking about, whether is it possible to set this range using column E and use the functions INDEX, FILTER, and OFFSET or a similar function like v or xlockup to look for the column E and look for the word statement and then take the cell associated with it from the column G ...etc and that would be the range.
That may achieve the goal of only selecting the cells to the range that has cell contents equal to "Statement", then after that, we take the associated cells in the same range but in column F.
I mean we determine the range of the cells we are searching within and do the sum according to the cell contents of the column E.
So Is it doable to determine the range for column F according to the cell contents of column E, and only consider cells that have the "Statement" then we do the sum we did earlier?
The purpose of the extra requirement is that it will not require manual editing if the range changes.
I hope that I was able to express myself.
@moderators: So I thought to ask if should I add these extra requirements here or if I should start a new thread.
Bookmarks