In the excel spreadsheet, the 4 exam titles are column headings, and scores are in the rows beneath them.
But I can't figure out how to get those column titles to go into the portal field for exam and then the score to go into the field for score.
Based on the information you supplied, it sounds like you first need to Create the Fields in FileMaker.
You can create the 3 fields, Scienc Score, English Score, and Math Score in the Related Table that your Portal is looking at.
You may need to do separate imports for each column and then use Replace Field Contents to fill in the exam title field for that column immediately after the import.
I woke up at 3 am and it came to me!