This means that compQ needs to have a value set in a Begin Experiment code component which appears earlier in your experiment. Online this will fail because you can’t set/alter variables in code components that are also set by spreadsheets.
If you use code to load a spreadsheet then you can’t just use the column names to access the contents.