Get your taxes done using TurboTax

The 1099G is for your state Refund, not tax paid.  And yes it should automatically figure out how much is taxable.  Enter the 1099G and answer the followup questions to determine how much is taxable.