32gb Micro SDHC card is not detected by phone and unable to format in PC

You might try formatting using the SD Association’s Formatter tool–it can handle many issues.

https://www.sdcard.org/downloads/formatter_3/

One thing I hope this is not:  there have been many reports of fake 32GB cards.  Hopefully, that is not your situation.