I am trying to read a set of players P that play in position Q from excel. A sample of how the sets look is given below -
// set of positions q
Q = {"GK", "DEF", "MID", "FWD"};
// set of players p allowed to play in Q position
Pq = [{"Raya", "Alisson", "De Gea", "Pope", "Sa"},
{"Trippier", "White", "Schar", "Mings", "Van Dijk", "Shaw", "Saliba"},
{"De Bruyne", "Salah", "Rashford", "Martinelli", "Almiron", "Trossard", "Eze", "Son"},
{"Haaland", "Watkins", "Wilson", "Jesus", "Mitrovic", "Firmino"}
];
How do I use SheetRead to get data in this way? As each row is an array on its own.
I First called Pq in the Mod file as -
{string} Pq[Q]= ...;
Then I tried using SheetRead in the following manner which Obviosly gave me an error in the Datafile -
Pq["GK"] from SheetRead(FplGwData, "PricePoints!A2:A6")}