My Task is to sum the row value of column D “Wert/BWähr” only when the respective row value of column “Auftrag” , “Nebenkontierung”, “Kostenart” are the same. So just like u can see in the SS that in first green marked box only the first three row values from column “Wert/BWähr” will be summed up. Next the blue one and the orange one.
So to summerise, for each row check if the columns “Auftrag” , “Nebenkontierung”, “Kostenart” have the same value then add the values of column Wert/BWähr" for the same row to a sum variable and write the sum. at the end the table should look like this with the sum, for each row :
I am understandig the logic but finding difficulties to implement this using proper statement. Can anyone please help me with this. Would be highly appreciated
If that doesn’t work, then we would appreciate it if you could provide us with some sample data to work with.
That would put us in a much better position to assist you.
Could you try this and see if it works out for you?
Please validate whether the calculation is accurate, I have set the operations to add values as they are i.e., if there are any negative values, it will get substracted from the whole.