Sheet1 contains 30 rows of data. Column A in Sheet1 contains one of three labels:
Central
Eastern
Northern

Column B in Sheet1 contains different dollar amounts.

In Sheet2 cell A20 I would like to sum the dollars from Column B in Sheet1 for all of the rows from Column A with the label Central
In Sheet2 cell A21 I would like to sum the dollars from Column B in Sheet1 for all of the rows from Column A with the label Eastern
Etc.

I came up with the formula below but it is not working. Can someone advise/help please?

=SUMIF('Sheet1'!$A$2:$A$30,="Central",'Sheet1'!$B$2:$B$30)