idk about 'values' as such for me but a basic alignment in worldview helps a lot, and pretty fundamental stuff like a similar sense of humour, idea of romance etc. a big factor can also be finding someone with whom you feel comfortable being yourself and with whom honesty comes naturally, 'cause dishonesty - even just in the sense of acting like something you're not, sugarcoating your flaws or setting up false expectations etc - is probably the number one relationship killer down the road in my experience.