I have a number in A10 which decides how many numbers should be considered for the below given MIN function.
For e.g. if A10 says 2 then the MININUM of first 2 numbers should be the output i.e MIN of A1 & C2).
If A10 is 3 then MININUM of first 3 numbers in the given formula i.e. MIN of A1 & C2...