Question: how do i import an excel file into postgresql?
Answer: First save your excel file as csv formate . Open the excel file then SaveAs as csv format.
Go to datagrip then create the table structure according to the csv file . ... 
right click on the table name from the list of table name of your database then click of the import data from file .