Lookup Datatable and math operation and Get total values

I want to obtain the total value from the formula (SALES + RENT - BILLAMOUNT) in UiPath Studio. I’ve already converted Excel to a DataTable and looked up values for each entry. Now, I aim to perform addition and subtraction on these values to obtain the overall total.

This is literally the syntax to use to do it, assuming they are Int or Double variables. If they are not, then…

CDbl(SALES) + CDbl(RENT) - CDbl(BILLAMOUNT)