I just give you an example you can change the data above based on your file name parameters name and the range dimension in excel sheet and the dimensions that you have
There is another way that can save time while running your GAMS model.
First you define the parameter that you want.
Then you can call .xls file defining the range and the sheet as well the name of the excel file. Also, you will define the name of the output file that has .inc at the end. you just need to do this only once .
Then you can comment the code because the load profile will be save as LP.inc in directory.
Example:
Table LP(i,t) your loads profiles
$call =xls2gms r=P1!a1:b2 i=profiles.xlsx o=LP.inc ( this can be commented after the irst run)