Look at how the terms are used in the description at https://www.excel-easy.com/examples/regression.html .
The big question is: is there a relation[ship] between Quantity Sold (Output) and Price and Advertising (Input). In other words: can we predict Quantity Sold if we know Price and Advertising?
The Y-range is the dependent variable (singular) -- Quantity Sold. The X-range are the independent variables (one or more) -- Price and Advertising.
Presumably, you are trying to derive a multilinear relationship between the periodic rates of return of the several securities (A2:D26) and the periodic rate of return of the benchmark (E2:E26).
So the Y-range is E2:E26, and the X-range is A2:D26.
But you write: I have also tried switching the x and y variables so there are multiple x variables and only 1 y variable and the error is the same, to no avail.
I would have prototyped the solution to see what other problems might be lurking. But I am not about to manually copy 120 numbers.
It would have been nice if you had uploaded an Excel file to a file-sharing website, and posted the download URL.