I"ve a data table (1) below and want the result as in table (2). How can I do this?
I'd suggest the following:
State