How to subtract from 1 positive value with multiple negative value in same column

Hi guys,

12_04_2022.xlsx (8.8 KB)

I have attached an excel .

Here I have written a logic . Please find it. And I have to process it through UiPath.

Note: I have to do this operation only for “GM” mentioned in excel.

Thank & Regards,
Nirmalya Sarkar

you mean you want the result to look like this?
image

try this
Main1.xaml (17.7 KB)

input
image

result
image