Is column C always the same length (i.e. number of Rows)?
What would X and Y be - numbers, text, Boolean, dates, ...
Where does this formula go?
Basically, a lot more information is required.
Would a UDF be OK?
Xiaomi Mi Mix 2 review
See mcbess's iconic style animated for Mercedes-Benz
iPhone X news: Release date, price, new features & specs
Black Friday 2017 : date, sites participants & bonnes affaires