There is a possibility using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer...
 Let's assume there is a polygon layer called 'grid_test' (red squares).
With the following query, it is possible to dissolve two fields while summing a third field.
SELECT GROUP_CONCAT("id") AS ids,
       SUM("AREASQM") AS SUM_AREASQM,
       ST_union(geometry) AS geom
FROM "grid_test"
GROUP BY "Inundation", "EVC_BCS"
 Here the ST_Union() function was used.
The output polygon layer (yellow) with its attribute table will look like

