I've been trying to combine IF and LARGE but I'm not getting the formula right.
=IF(A2=LARGE(A2:A22;1);"X";"Y")
If the A2 cell has the first largest number before the first dot in column A, name "X" is returned, if not, return "Y".
For example: if column A contains in each cell, 5.0, 5.1, 5.2, 3.0, 2.0, 1.0 , then it means that 5.0, 5.1 and 5.2 will be considered as "First largest number".
Although 5.3 is greater than 5.1 and 5.0, only what is before the dot is important, so both 5.3, 5.1, and 5.0 would return "X" because they are the first largest number in the column before the first dot.
=IF(A2=LARGE(A2:A22;1);"X";"Y")
If the A2 cell has the first largest number before the first dot in column A, name "X" is returned, if not, return "Y".
For example: if column A contains in each cell, 5.0, 5.1, 5.2, 3.0, 2.0, 1.0 , then it means that 5.0, 5.1 and 5.2 will be considered as "First largest number".
Although 5.3 is greater than 5.1 and 5.0, only what is before the dot is important, so both 5.3, 5.1, and 5.0 would return "X" because they are the first largest number in the column before the first dot.