Problem description & analysis:
In the table below, the 1st column is subject and columns after it are test scores arranged in order.
Task: Specify a subject and a score and, according to the specified values, find the first cell value that is equivalent to or greater than the score under the subject. For example, when the parameters are Maths and 6.5, the expected return result is 6.6.
Solution:
Use SPL XLL to do this:
As shown in the picture below:
select@1 function find the first eligible member that meets the condition. m(2:) gets members from the 2ndto the last. ~1 is the 1st member and ~ represents the current member.