Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suspect your example is only for context, but just in case it saves you time in future, if you can sort the data first then you can use something like: if(vlookup(value,range,1,TRUE)=value, vlookup(value,range,column,TRUE), error_marker). The TRUE returns next nearest match, the IF ensures you have an exact match, and it takes a few seconds to lookup over hundreds of thousands of rows.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: