The number of Greek yogurt packs that had expired is 40/100*80 = <<40/100*80=32>>32
If each pack of Greek yogurt was sold at $12, for the 32 packs of greek yogurt that he returned, Bob was refunded $12*32 = $<<12*32=384>>384
#### 384