You can use SUMPRODUCT.
=SUMPRODUCT((A1:A100="MA")*(B1:B100))
Where A is your list of abbreviations and B are your numbers to sum.
Rather than type the abbreviation in the formula, you could have a drop
down list with all state abbreviations and have your formula refer to
that cell say C1. Then you could just select a state abbreviation from
the list and the formula would return the value for that abbreviation.
=SUMPRODUCT((A1:A100=C1)*(B1:B100))
Does that help,
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=517306