I wish to know if there's a tool on QGIS equivalent to the Excel's "SUMIF".
I have a shapefile of a land use and cover that's classified by the attribute with the name of the classes, for example: "vegetation", "urban centers" and "pastures". My goal is to calculate the area of each class, but since it's composed by various polygons, I need to add up all the areas from all polygons that were put in the same class.
Like I mentioned in the beginning of the question, I know that Excel has a function that can do such thing for me, but it turns out that the sum made by excel doesn't match the area's total given by QGIS.
English is not my first language, so if the explanation isn't clear enough, I'll be glad to rephrase it.