As I have two tables, DB and ActualProfit, I would like to look up the sum of DB table based on month and year into ActualProfit table, but Do not replace the numbers in Actual Profit that are already filled up.
This is Actual Profit table.
This is DB table.
I would like to sum the value of months February and March in the DB table then look into the Actual Profit table. Knowing that this code can look up the total profit, but will replace the actual profit that has been filled