Searching in cells/diode