I have a table that looks like so
ACCOUNT AMOUNT
Income 59
Income 69
Income 99
Income 45
COGS 43
COGS 34
COGS 45
Expense 44
Expense 55
I want to insert a row into this table that will have the ACCOUNT value=Gross Profit
and the AMOUNT Value = SUM(Income and COGS)