SUMIF formula and example in Excel and Google Sheets

Formula, examples and how to use it

=SUMIF(range, criterion, [sum_range])

One of the most popular functions used in Excel and Google Sheets, and returns a conditional sum across a range. In this exercise, we will analyze the total revenue of the top 5 company 2020 and the same method can be used for profits and employees.