I want to retriever numerical values in Google sheet and assign them to a variable to make calculation.
I see a lot of explanation for whole rows as a liste but i juste want retriever 6 values to do calculation, all this by entering the name Messier M1, M2, M3,... Or choosing it from a liste.
Please tell us your search term and which columns you want to return.....
Oh, I have just looked at your google sheet, seems you will search on OBJET and return all the columns (6) - may as well just return the row ? SELECT * WHERE A = 'OBJET'
For such a small and unchanging data set, you could just download the entire sheet into a Comma Separated Values (.csv) file, upload it into the app's Media folder, and load the file at startup.
Once you have converted the csv text into a table (list of lists), there are new nb191 list blocks you can use to filter the data.